Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scan & Calculate question..
Message
From
10/08/2001 11:20:21
Spencer Redfield
Managed Healthcare Northwest, Inc.
Portland, Oregon, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00542029
Message ID:
00542303
Views:
21
Here's what I did in a similar situation, if I understand the original question.

One, of course, cannot directly CALCULATE backwards. However should the table's order be controled by an index tag, one can SET ORDER TO TAG DESCENDING or ASCENEING and then employ the CALCULATE or SUM commands to "work backwards". Both commands support scope (all/rest/next n) as well as FOR and WHILE expressions that should permit selection of the desired records.

Just another way.
Previous
Reply
Map
View

Click here to load this message in the networking platform