D
DManAxe
Guest
Hi, I've a table with the following columns
RecdQty SStock PStock
What I need to do is something like this
let's say PStock = 10,000 , SStock =6,000
and let say RecdQty value = 100 for the first record
" = 300 for the second record
" = 200 for the third record etc.
Start:
PStock - SStock = 4,000 <-- once ive got this value then
4,000 - RecdQty = 3,900 then
<-----NextRecord------>
3,900 - RecdQty = 3,600 then
<-----NextRecord------>
3,600 - RecdQty = 3,400
....
..
.
Until EOF
Please HelpMe I'm Lost.....
RecdQty SStock PStock
What I need to do is something like this
let's say PStock = 10,000 , SStock =6,000
and let say RecdQty value = 100 for the first record
" = 300 for the second record
" = 200 for the third record etc.
Start:
PStock - SStock = 4,000 <-- once ive got this value then
4,000 - RecdQty = 3,900 then
<-----NextRecord------>
3,900 - RecdQty = 3,600 then
<-----NextRecord------>
3,600 - RecdQty = 3,400
....
..
.
Until EOF
Please HelpMe I'm Lost.....