DCount

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello all,

Can you use two criteria's in a DCount?
I'm wanting something like this.

vCnt = DCount("[wave]", "viaware_cm_f", (((WAVE)=""" & vWave & """) AND
((LOC)like""AFR*"")))"
 
The "where" argument is usually enclosed in quotes. I would expect something
like:
vCnt = DCount("[wave]", "viaware_cm_f", "[WAVE]=""" & vWave & """ AND [LOC]
like 'AFR*' ")
 

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

DoCmd.OutputTo acReport, stDocName 3
Access Dcount (multiple criteria) 3
Access Dcount function in access 0
Syntax for DCount Code 4
Dcount operation 2
DCount alwaysreturning 1 0
DCount slows down Access application. 1
Sql or a better way 3

Back
Top