G Guest Feb 14, 2005 #1 I want to find the total amount of items purchased by each customer in an order form including the order being entered.
I want to find the total amount of items purchased by each customer in an order form including the order being entered.
R Rob Oldfield Feb 15, 2005 #2 You can get the total amount by just using a group query... group by the pk of the customer and count (or sum) field(s) from the orders table.
You can get the total amount by just using a group query... group by the pk of the customer and count (or sum) field(s) from the orders table.
R Rob Oldfield Feb 15, 2005 #3 ...and I forgot. To make sure the current order is included just save the record first... docmd.runcommand accmdselectrecord
...and I forgot. To make sure the current order is included just save the record first... docmd.runcommand accmdselectrecord