Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Help:Negative Symbol missing in Excel after export Post Reply Post New Topic
Author Message
Nav522
Senior Member
Senior Member


Joined: 25 Aug 2009
Location: United States
Online Status: Offline
Posts: 166
Quote Nav522 Replybullet Topic: Help:Negative Symbol missing in Excel after export
     Posted: 09 Nov 2009 at 2:29pm
Hello Folks,
                    I have a field called "Fee" which is an integer and its in the format of say Example $500. My requirement is that i have to show all of the field values with a negative symbol. I was successful in doing that i.e i have modified the format field and inserted a "-" in the Currency symbol Tab. But the problem is after exporting to excel i cant see the Negative symbols for the Fee Column. Can anyone please throw some light on this.
 
 
Is there anyother way that i can accomodate the minus(-) symbol?
 
Thanks
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 09 Nov 2009 at 2:46pm
If it is a currency field type I would just make a formula field and muliply the field by -1 and make the formula field format to to the $-1,123.00 option and export it.
table.currencyfield * (-1)
If is is numeric I would convert it to currency when multiplying it, change the format and export (as above)...
ccur({table.intfield})*-1


Edited by DBlank - 09 Nov 2009 at 2:48pm
IP IP Logged
Nav522
Senior Member
Senior Member


Joined: 25 Aug 2009
Location: United States
Online Status: Offline
Posts: 166
Quote Nav522 Replybullet Posted: 09 Nov 2009 at 3:09pm

Hey thanks for getting bak.   i did created a formula as u hav said, the report shows values as $-500 and -$500 in excel.Is there anyway that i can see it as -$500 in the rpt and excel as well.

Please advice.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 10 Nov 2009 at 7:17am

Slect the field

Right CLick and choose Format Field
Click on the Nmber Tab
Pick the $-,123.00
Now click on Customize
Click on the Currency Symbol tab
Change the Position option to -$123
Hit Ok
HIt Ok
 
 
IP IP Logged
Nav522
Senior Member
Senior Member


Joined: 25 Aug 2009
Location: United States
Online Status: Offline
Posts: 166
Quote Nav522 Replybullet Posted: 10 Nov 2009 at 8:31am
hey thankyou verymuch
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum