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

are there limitations to dcount

Status
Not open for further replies.
Joined
Nov 28, 2006
Messages
6
Location
US
I have a dcount giving an #error.

=DCount("[PO#]","q report"," [o washed]=0 ")

q report is a query based on another query with some criteria (and some tables joined). [o washed] is a boolean field.

I set up a test where I query a query and the dcount works.

Any ideas?

Thanks
 
Perhaps this ?
=DCount("[PO#]","[q report]","[o washed]=0")

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
It works fine for me. Have you checked all the names?
 
I have cut and pasted the names and also tried other fields (like counting a non-boolean). I have the same expression based on another query and it works. I think there is something different about "q report".
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top