In VBA, how do you see the results of an sql count statement like the
following ?
Select Count (*) as Total from tblCustomer
Result = DoCmd.RunSql("S elect Count (*) as Total from tblCustomer")
gives an error
I need to get the count into a variable.
following ?
Select Count (*) as Total from tblCustomer
Result = DoCmd.RunSql("S elect Count (*) as Total from tblCustomer")
gives an error
I need to get the count into a variable.
Comment