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

Return onnodata value in unbound report field

Status
Not open for further replies.

jwkolker

Programmer
Jan 9, 2003
68
US
I am trying to have an unbound field return text to the field when the report has no data.

I created an unbound field and tried this
Code:
=IIf([Customer_name]Is Null,"No Customers to Report","")
[\code]
Meaning If field Customer_name has nodata then return No Customers to Report message to the unbound field or if there are customers in the report return nothing to the unbound field.

This is not working - I get No Customers to Report when there is data, and #error when there is no data..

Please help.

JoKo John Kolker
Programmer
jwkolker@comcast.net
 
Try this:
Code:
=IIf(IsNull([Customer_name]),"No Customers to Report","")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top