Dear programming buddies,
I have a query with the following information:
Field 1 : Date
Field 2: Product
Field 3: Transaction (Purchases/Returns)
Field 4: Quantity
I need a 4th field that contains the running total but it has to be dependent on the "Transaction" meaning if the transaction is "purchase" then decrease the running total and if the transaction is "Returns", then increase the running total.
Also, although its obvious, but the fact that field 2 is "products" means that each product needs its own running total.
Thank you all in advance,
James Borne