Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Totaling grid column..
Message
 
To
11/08/1999 15:25:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00252656
Message ID:
00252856
Views:
9
>Hi Frank,
>
>>is there a way to total a column when using grid controls, if not, recommendations?
>
>I would suggest using your data instead of the control that displays your data.
>
>Put a text box under your grid, in the refresh put:
>
>
This.Value = SUM(myTable.myField) &&or whatever the sysntax for sum() is
Then just refresh the textbox in your afterrowcolchange or wherever else you see fit.

But what if the user reorders or resizes the grid columns, how can we get the column total textbox to follow its' column to its new position?
Vidar Johannessen
Previous
Reply
Map
View

Click here to load this message in the networking platform