Count Records

Kenln

Registered User.
Local time
Today, 05:22
Joined
Oct 11, 2006
Messages
551
I am trying in vb in a form to count the number of records where a field matches specific critera. I can do this easiely enough in a query but I am not sure how to use this number in VB.

Can someone help with this,

Thanks
 
the Dcount function is what you want to use.

If you search Dcount in the vb help, it'll explain the syntax.

There are also numerous Dcount threads in this forum that will show you example syntax.
 
Awesome!!!

I'll give it a try.

Thanks
 

Users who are viewing this thread

Back
Top Bottom