Let me tell you what i am trying to do and you might be able to help me better.
I have 3 queries: Enlisted, Warrant, & Officer.
I am trying to create another query that will tell me how many records are
in each query. Is that possible? It has been a while since I have done this
stuff.
I'll use 2 queries to show as an example, but you can use 3.
Why are you doing this in a query. I would guess that you would want
this count to be shown either on a form or in a report.
In which case, use an unbound control.
Set it's control source to:
= "Count Enlisted " & DCount("*","Enlisted")
Do similar for each other query count needed.
Or, you could combine them into one control:
= "The Enlisted count is " & DCount("*","Enlisted") & " and the
Officer count is " & DCount("*","Officer ")
You could do it in a query:
Type directly into the SQL View of a NEW query, the following:
SELECT DCount("*","Enlisted") AS CountEnlisted,
DCount("*","Officer") AS CountOfficers;
You will get 1 record with 2 columns showing just the total count from
each query.