I am trying to create code and or a query in Ms Access 03 to calculate the number of times a customer has purchased the same product within 7 days.
I am trying to produce the Repeats column. But am not able to group the customers and the product number to perform the totals. Any suggestions would greatly be appreciated.
Thanks
Code:
Customer Product_no Pur_date Repeats A 21-22-23 6/1/2008 2 A 49-72-02 6/2/2008 0 B 17-24-04 6/1/2008 3 B 17-24-04 6/5/2008 2 A 21-22-23 6/5/2008 0 C 67-42-20 6/6/2008 0 B 17-24-04 6/7/2008 0
Thanks
Comment