Access DCount

  • Thread starter Thread starter Frank Locraft
  • Start date Start date
F

Frank Locraft

I'm having a problem with the "DCount" function on my
version of Access. Is the Access Help function Providing
the correct syntax?
=DCount("variable to Count]", "Table to count
from", "where variable = '1'")
 
To count all the records in the table that match the 3rd argument,
just use "*" for the first argument:

=DCount("*", "Table to count from", "variable = 1")

Note that you should not include the quote marks in the 3rd argument unless
the field "variable" is of type Text.
 

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 (multiple criteria) 3
Access Dcount function in access 0
Dcount the values 0
Access MS Access DCount function problem 0
DCount between dates 4
Count records in Parameter Query for Report 3
access report 2
Get Sums for 2 DCount fields on report 1

Back
Top