CR Ver 8.5/WinXP/Pervasive DB
Need help finding a formula I can use to find a previous record that matches a value in the current record.
Example:
Current Record:
order #: 3344
item: CDR34
qty ordered: 1
qty on hand*: previous 'qty on hand' for this item -1
*I need to insert a formula for 'qty on hand' that finds the qty on hand for the last order containing item CDR34 and subtracts from that the qty ordered on this order (in orther words, a running total of qty on hand for this item).
Can someone assist? Thanks in advance.![[bigcheeks] [bigcheeks] [bigcheeks]](/data/assets/smilies/bigcheeks.gif)
Need help finding a formula I can use to find a previous record that matches a value in the current record.
Example:
Current Record:
order #: 3344
item: CDR34
qty ordered: 1
qty on hand*: previous 'qty on hand' for this item -1
*I need to insert a formula for 'qty on hand' that finds the qty on hand for the last order containing item CDR34 and subtracts from that the qty ordered on this order (in orther words, a running total of qty on hand for this item).
Can someone assist? Thanks in advance.
![[bigcheeks] [bigcheeks] [bigcheeks]](/data/assets/smilies/bigcheeks.gif)