Question : Access 2007 Subtract Multiple Values in Report

I am writing an Access program to help us manage our production schedule. I am assembling many tables (parts, Orders, Line) in a report to show our real production demand. I basically need help on taking (Complete Qty) and subtract it from every demand of the order. I know it is a basic subtraction formula.
Basically what i need is CompQty-Line 1 = X
then
X- Line 2 = New X
New X - Line 3 = etc etc etc.
when there is no more ComQty stop.

I dont know how to handle multiple Line demands.

HELP
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
=([comp]-[Qty per SS]*[Qty])
 
Comp = Complete Qty
 
Qty per SS = Quantity per Ship Set PER LINE
Qty = order Qty PER LINE
[Qty per SS]*[Qty] = Real Production Demand for this line

Answer : Access 2007 Subtract Multiple Values in Report

Whatever you defined this as:

Global reportCount As Integer

open the open event of the report, try this:

reportCount = 0
Random Solutions  
 
programming4us programming4us