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

#Error

Status
Not open for further replies.

ptrifile

Technical User
Aug 10, 2004
457
US
I am totaling a field from a query based on a count, however if there is nothing for that particular item the report shows the following:

Textfield #error

I would like it to show

Textfield 0

Is there something i can do to achieve this?

Thanks in advance!

Paul
 
I figured this out. Used the following:

=IIf([HasData],Count([myfield]),0)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top