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

DCount Problem 1

Status
Not open for further replies.

FontanaS

Programmer
May 1, 2001
357
US
Hi,

I have the following function in a text box on my report.

=DCount([A1],"Qry_Questionnare",[A1]=0)


I keep getting the #error when I try to view it. The Field [A1] is a number field.

Any suggestions ?

THANKS!
 
You need quotes around all of the arguments. Try:
Code:
=DCount("[A1]","Qry_Questionnare","[A1]=0")

Hoc nomen meum verum non est.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top