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

DCount Function format 1

Status
Not open for further replies.

hshaker

Technical User
Jun 29, 2007
66
CA
Hi there,

I have the following the DCount Function:
=DCount("[EWOID]","rptEWOReport","[EWOStatus] = 'Open'")

I would like to count the number of records that have their EWOStatus=Open on that report.

The function give me #error

Thanks.
 
hs,

If your naming convention is correct (rpt = report), then you're attempting to check a field in a report.

rptEWOReport has to be a table or query.

ATB

Darrylle


Never argue with an idiot, he'll bring you down to his level - then beat you with experience.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top