
Originally Posted by
CGM3
The Count option might help with your first problem. In the design view of the query, click the "Sigma" (Totals, it looks like a capital sigma) button on the Query Design Toolbar, which adds a row to the query design labelled Total. The default value for a column is Group By, but if you change it to Count you get a count of the number of times a given value occurs in the query.
I just came across this myself, so you may need to fiddle with it to make it useful. The test I did was on one table, with one field appearing twice in the query, once with the Group By "total", the other with the Count. Running this gave a list of each value of the field in the query result and the number of times that value appeared.
For instance, using LastName as the field, instead of, say, getting SMITH three times, I got SMITH once with the Count of 3.