Let's assume we're looking at the tblSales table and
trying to find the Account that appears most often.
Open a new query in Design view and select the tblSales table.
Drag the [Account] field down three times (yes, three times)
Click on View > Totals to display the Totals line for each field.
For the first [Account] field, select "First" in the Totals line.
For the second [Account] field, select "Group By" in the Totals line
For the third [Account] field, select "Count" in the Totals line
Also for the third [Account] field, SortDescending.
This will display each account and the number of times it
appears in the tblSales table.
Hope this helps!
Howard Brody
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.