Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running Total
Message
 
 
To
27/07/1999 14:50:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00246796
Message ID:
00246800
Views:
10
>Does anyone know an easy way to create a running total (balance) in a grid. Since the user could change row one after entering row four, all rows must be recalc'd. What method should this code go in? Previously in Fox 2.6 I saved the record pointer, summed until reccount and then restored the record pointer.
>
>TIA
>sandi

I did a running total for an invoicing form but not as part of the actual grid. I placed the code in its own method of the form. I call it whenever data in the grid is inserted, deleted or changed -- quantity, price, sales tax code, sale type code [credit or sale].
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform