hide zero values in Access 97 report

C

CHW

How do I hide zero values in a report?

Is it possible to hide zero values for a particular field rather than the
entire report ?

Thanks in advance.

CHW
 
F

fredg

How do I hide zero values in a report?

Is it possible to hide zero values for a particular field rather than the
entire report ?

Thanks in advance.

CHW

Sure.
In the Control's Format property line, write:
#,-#,Null

See Access help on the
Format Property + Number and Currency datatypes
to learn why this works.
 
C

CHW

I followed your suggestion and my zero currency values display:
-Null

Did I do something wrong?

Thanks for the help.

CHW
 
F

fredg

I followed your suggestion and my zero currency values display:
-Null

Did I do something wrong?

Thanks for the help.

CHW

Access thought you wanted Null as Text so it placed it within quotes
"Null".

Just change the format property to:
#;-#;""

Note: if you want comma separated thousands and .00, use:
#,###.00;-#,###.00;""
 
C

CHW

Thank you for the help.

It works.

CHW

fredg said:
Access thought you wanted Null as Text so it placed it within quotes
"Null".

Just change the format property to:
#;-#;""

Note: if you want comma separated thousands and .00, use:
#,###.00;-#,###.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