Crystal Reports – change ‘$0.00’ to ‘-‘

To change the $0.00 to $- , right-click the relevant field and select Format – Field. On the Number tab, click Customize.

On the Number tab, in the Show Zero Values as dropdown, select the dash ‘-‘.

Then go to the Currency tab, check the Enable Currency Symbol box if there isn’t a tick in there already, then click the Formula button to the right of it. Input the following formula:

if {tablename.fieldname}=0 then crNoCurrencySymbol else crFloatingCurrencySymbol

Click Save and Close, then click OK twice.

Crystal Reports custom style dialog box

Find out more about our Crystal Reports training Sydney, Australia or our Crystal Reports training London, Surrey, Middlesex or our Crystal Reports training Wiltshire, Dorset, Hampshire, UK.

About jdonbavand

I am a trainer of Microsoft Office, Microsoft Project and Crystal Reports. I have called my blog "If Only I'd Known That...." because I hear it so many times in training sessions. In fact, if only I had a £100 for every time someone says "If only I'd known that." ....
This entry was posted in Crystal Reports and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s