Number formatting...

D

Dustin

I am working on a year end report that totals of monthend queries. There are
some categories have a value of 0, but they are left blank. This makes the
report look awkward. Is there a way to format these blank records as a 0?

Any help would be greatly appreciated.
 
F

fredg

I am working on a year end report that totals of monthend queries. There are
some categories have a value of 0, but they are left blank. This makes the
report look awkward. Is there a way to format these blank records as a 0?

Any help would be greatly appreciated.

Blank as in Null?
The field is a number datatype?
Set the Format Property of the control to:

#,###.00;-#,###.00;.00;.00

Values of 0 or Null will display as .00
Other values will display with 2 decimals.

To learn why this works, look up
Format Property + Number and Currency datatypes
in Access help.
 

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