Hello,
According to Microsoft’s help, the DCount functions ‘domain’ must be a Table Name or a Query Name, however I want to use an SQL defined in my code. Is their a way this can be done? If not, what is the most efficient way to count records in an SQL statement without creating a query. I do realize that I could define the SQL as a recordset and do a recordcount, but this is time consuming.
Thanks in advance for any help!
Regards,
Drew