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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Suppressing Zeros

Status
Not open for further replies.

warpped

MIS
Jan 19, 2000
59
US
I have a complex report in Access 2000 with several unbound text boxes that are set up as fixed, 2 decimal places. The values are loaded with code. When the value is zero, the box shows 0.00. Is there any way, other than code, to suppress the zeros and display a blank box?

Thanks
 
Change the format on the text box. The format command has 4 parts, each separated by a ;

FormatForPositiveNumbers;FormatForNegativeNumbers;FormatForZeroValues;FormatForNullValues

So something like this might work for you:

0.0;0.0;"";"Null"

HTH Joe Miller
joe.miller@flotech.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top