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

OMIT CERTAIN VALUES ON REPORT

Status
Not open for further replies.

xcavern

ISP
Apr 4, 2003
20
US
Is there a way to have a textbox, if the value is "0" be blank?

Thanks for the help!
 
As in (?):
[tt]=IIf(nz([SomeField])=0,"",[SomeField])[/tt]
 
The info is from table "Sheet 1" column "1", how would that work?
 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

When I put in =IIf(nz([1])=0,"",[1]) , it comes up an error. Is this the correct way to do this ?
 
Is this Excel? This is the Access Reports Forum. If it is Access, What are the field names in table "Sheet 1"?
 
the actual columns names (field names) are, 1 , 2, 3, 4, ..ect
 
Rename the control on the report to, for example, 1x. Anything other than the same name as the fields. As a ps, I think you may run into problems with these field names.
 
Thanks this is perfect. I'm hoping I wont run into trouble with numbers as fieldnames, and will definitally use something else next time.

Thanks for the help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top