Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Suppress zero print

Status
Not open for further replies.

Ham

Technical User
Feb 23, 2000
122
0
0
US
I have an Acces Report where I want to print a blank when a field value is zero. The value comes from an Access table where it is defined as an integer.

I have the following statement in the control source for that field of the report:

=iif([Number]=0," ",[Number])

I have also tried: =iif(IsNull([Number])," ",[Number]).

In either case the zeros print. How can I suppress that print?

Thanks. -- Ham Rutledge
 
Set the Format property of the [Number] control to something like this:
0;-0;"";""

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
That did the trick! Many thanks for your help. -- Ham
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top