Count Records in a recordset

elgoober

Registered User.
Local time
Today, 05:56
Joined
Mar 2, 2001
Messages
83
Hi

I have a table that contains 1 year of sales.

Fields include Item,NetSale,Customer,Month.

I need to count how many times an item has been bought by a customer.

I can see from a report wizard how the count is achieved - but I need to action this at query level.

Any thoughts/help greatly appreciated.

Cheers

Paul
 
Just make a group by/totals query...
It will end up looking (in sql) something like:
select customer, item, count(*)
from yorutable
group by cucstomer, item

Good luck!
 
Cheers Namliam

Have a good day

Paul
 

Users who are viewing this thread

Back
Top Bottom