Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running Total
Message
From
21/11/2005 02:41:11
 
 
To
21/11/2005 02:02:33
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01070687
Message ID:
01070688
Views:
12
>Dear Experts
>
>There are three numeric fields, fld1,fld2,fld3 and data in fields as
>
>Fld1 Fld2
>1 2
>6 8
>3 7
>0 3
>
>I want to get runing total of fld1+fld2 in fld3 as
>
>3
>17
>27
>30
>
>Please help
Use yourtable
lnTotal=0
Scan
  lnTotal=lnTotal+fld1+fld2
  Replace fld3 with lnTotal
Endscan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform