Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Question
Message
From
03/12/1997 16:47:19
 
 
To
03/12/1997 16:22:15
Rebecca Stottlemire
Kansas State Department of Commerce
Topeka, Kansas, United States
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00063629
Message ID:
00063635
Views:
50
>I have a grid on a form which displays a set of records from a file (with a filter set).
>There are 8 columns and variable rows, depending on the filter.
>I have put text fields below the grid showing the totals of each column. I get these totals with SQL select and fill an array. The problem is that I can't refresh these totals using the SQL select into the array until after a TABLEUPDATE.
>Is there an easier way to sum the values of the columns in the grid?

You could use parameterized table-buffered view as Grid.Recordsource. Then you use CALCULATE SUM... from Grid.Column.Text.InteractiveChange event, assuming that you will restore record pointer.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform