Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to cumulate totals of my view without loosing cur. r
Message
From
04/11/1999 10:54:45
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00286872
Message ID:
00286881
Views:
18
SELECT Sum(MyField) AS Total FROM MyView INTO CURSOR curSum
lnTotal = lnTotal + curSum.Total
USE IN curSum

HTH
>I have a view that I use to input data in a grid. In the amount field, valid method, I want to recalculate the totals by cumulating the amount in each record of the current view. The problem is that it makes me loose my current pointer.
>
>How can I achieve this?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform