Total for Query

sdkramer

Registered User.
Local time
Today, 10:24
Joined
Mar 19, 2002
Messages
64
I've made 2 queries, and I'd like to find the number of records that the queries result in, for a report, but I can't seem to get the syntax right. Lets say I have 2 Queries called qryA and qryB. In my report I currently have the following, and it's not working:

=(Count(qryA![Name]))/(Count(qryB![Name]))

Note: qryB is not empty.
I just get #ERROR

Any ideas?

Thanks
 
try

=DCount("[Name]","qryA")/Dcount("[Name]","qryB")
 
Yes, That worked perfectly. Thank you so very much.
 

Users who are viewing this thread

Back
Top Bottom