Counting records from multiple queries or tables

B

Barry Phillips

Is there a method to get a total record count from multiple tables or
queries? with VBS or SQL ?
 
V

Van T. Dinh

Not sure which way you want the "total record count from multiples tables or
queries": adding record count from each table???

However, check Access Help on the DCount() function.
 
B

Barry Phillips

Yes I am looking to sum the record count of several different queries to be
exact.
 
V

Van T. Dinh

You can write a short function using DCount() to count the number of
returned rows from each Query and then sum them up.

Alternatively, you can create a UNION (All) Query and use DCount() function
on this Union Query.

Check Access Help on DCount() function and Union Query.
 
Top