How do I get a query to report the number of records that
resulted from the query?
In your query design window click on the formula button. In the line
called Total: change the drop down for the field you want counted to
COUNT. If you want the information grouped, you need to add the fields
you want it grouped by *before* your count column.
Here's an example:
I have an IP log. I want to know how many times there have been logins
from a particular IP. So I make a query that has the IP field, and the
logged action *twice* (in two columns). I turn on formula, then put
COUNT in the *last* logged action. So it's going to group by IP and by
Logged action, then count each logged action by IP.
Just play around with this a bit and I think you'll get what you're
looking for.