N
Nick
I have a union query extracting data from 3 different
tables - Bin Stock, Purchase Orders and Requirements. The
resulting data looks like this;-
ProductID
Due Date (for purchase orders & requirements)
BinLocationID (for stock)
TransactionType (1=Stock, 2=Purchase Order, 3=Requirement)
Qty
I need an extra field (running total) which will be the
Stock on Hand figure after adding/subtracting the Qty
field of each record. Unfortunately there is no unique id
which rules out using DSum. The output needs to be
displayed rather than printed. Does anyone know how I can
achieve this?
Thanks in advance for your help.
tables - Bin Stock, Purchase Orders and Requirements. The
resulting data looks like this;-
ProductID
Due Date (for purchase orders & requirements)
BinLocationID (for stock)
TransactionType (1=Stock, 2=Purchase Order, 3=Requirement)
Qty
I need an extra field (running total) which will be the
Stock on Hand figure after adding/subtracting the Qty
field of each record. Unfortunately there is no unique id
which rules out using DSum. The output needs to be
displayed rather than printed. Does anyone know how I can
achieve this?
Thanks in advance for your help.