Hide Multiple Controls

R

Rhonda Floyd

In a report, is there a way to Hide multiple controls that are Zero?

I have over 100 fields on a report that could be 0 that I would like to show as blank when 0 otherwise print the number.

I'm using Access 97.

Any help will be greatly appreciated.

Thank you,
Rhonda
 
M

Marshall Barton

Rhonda said:
In a report, is there a way to Hide multiple controls that are Zero?

I have over 100 fields on a report that could be 0 that I would like to show as blank when 0 otherwise print the number.

I'm using Access 97.

The simplest approach is to set the text box's Format
property to a custom format. E.g. for currency values, it
might be:
$#,##0.00;($#,##0.00);"";""

Check Format Property in Help for details.
 
K

Kelvin Lu

Try

=IIF([FieldToCheck]=0,"",[FieldToCheck])

for the textbox in the report. If the report is based on a query, I would set this in the query.

Kelvin
In a report, is there a way to Hide multiple controls that are Zero?

I have over 100 fields on a report that could be 0 that I would like to show as blank when 0 otherwise print the number.

I'm using Access 97.

Any help will be greatly appreciated.

Thank you,
Rhonda
 

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