DCount ???

  • Thread starter Thread starter shiro
  • Start date Start date
S

shiro

Hi All,
Is this expression wrong
=DCount("[WattCurr1]","[Inspection result_sbfrm]","[Judge]='OK'")

otherwise it return me #Error or at another attempt #Name.
 
Shiro, the bit that is wrong is [Inspection result_sbfrm]

Replace the subform with either the name of a table or a query.
You must use either a table or a query for the 2nd part of the DCount

for example =DCount("[WattCurr1]", "qryWatt", "[Judge]='OK'")

for more explanation
from the VBA editor window, put your cursor in the word DCount and press F1

Jeanette Cunningham
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Access Dcount function in access 0
Access Dcount (multiple criteria) 3
dcount 1
Still struggling with DCount 8
Dcount Problem 2
Dcount Error 1
Counting filtered records... 7
DCount problem redux 4

Back
Top