naumit
31st May 2011, 12:53
Hi Everyone,

I have data in this format:

Required Quantity Cum Received
50

20 50+20=70(Should Print)
30 70+30=100(" ")
55 100+55=155(" ")

I am not able to get the data on the same layout. Can anyone help Please.
As its really urgent.

Reagrds

becks22
31st May 2011, 14:13
50

20 50+20=70(Should Print)
30 70+30=100(" ")
55 100+55=155(" ")

REPLY :
tot.quantity = tot.quantity + var
print(tot.quantity)
where tot.quantity = 70 , var = 20

Next record
tot.quantity = 100 and var = 30

You got it ??

naumit
31st May 2011, 15:44
Actually I tried this thing bt not getting the required o/p.

For reference I have attached a file.

It wud b nice if u can help me.

Regards

becks22
9th June 2011, 07:54
can u provide me your script so that I can check it ...?