Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calc SUM up to current record
Message
From
13/02/2006 14:07:44
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01095907
Message ID:
01095934
Views:
13
Thanks, Sergey, yours looks equivalent to Fabio's. (I used his since I read it first)

>Try
>SKIP
>lnRecno = RECNO()
>LOCATE
>CALC SUM(someField) WHILE RECNO() <> lnRecno
>
>>When I have a indexed table, how do I do
Calc sum(somefield)
for all records up to and including the currently selected record?
Jim Nelson
Newbury Park, CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform