Question : Dcount function

can I make it more specific?
instead of
Dcount("[Grade]","tablename")

how can I make it count the number of Grade equal to A?

Answer : Dcount function

Yep, just a "normal" WHERE clause can be used without the WHERE part like:

Dcount("*","tablename","[Grade]='A' AND [LastName]='Smith'")

Nic;o)
Random Solutions  
 
programming4us programming4us