Printing xxx.xx but not 0.00 in reports

C

CW

I produce invoices as multiple-line reports (up to 5 lines).
Sometimes just one or two lines will have a value and the others will not.
When a line is 0.00 I do not want this to print on the invoice so I used a
format in the report controls that fredg had suggested: #;-#;""
This works fine to suppress the unwanted 0.00s but unfortunately on the
lines that do have a value e.g. 123.45, these are printed as just 123 (the
DPs are not shown).
How can I get round this, so that where there are values they will be shown
in full, but where the value is 0.00 they will not be printed?
Many thanks
CW
 
M

Marshall Barton

CW said:
I produce invoices as multiple-line reports (up to 5 lines).
Sometimes just one or two lines will have a value and the others will not.
When a line is 0.00 I do not want this to print on the invoice so I used a
format in the report controls that fredg had suggested: #;-#;""
This works fine to suppress the unwanted 0.00s but unfortunately on the
lines that do have a value e.g. 123.45, these are printed as just 123 (the
DPs are not shown).
How can I get round this, so that where there are values they will be shown
in full, but where the value is 0.00 they will not be printed?


The # format only displays integers. You should use a
currency kind of format. This is like the standard one:

$#,##0.00;($#,##0.00);""
 
C

CW

Perfect! Many thanks, Marsh
CW

Marshall Barton said:
The # format only displays integers. You should use a
currency kind of format. This is like the standard one:

$#,##0.00;($#,##0.00);""
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top