Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Column totals in a grid
Message
From
21/02/2004 10:32:44
 
 
To
19/02/2004 17:35:04
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00878947
Message ID:
00879608
Views:
15
>>Is there an easy way to add column totals to the bottom of a grid?
>>
>>Thanks,
>>
>>Brian.
>
>No easy way. For ease, I suggest you use TextBox objects outside of the grid itself to show the totals. You will have to write some code to get those totals.
>
>If you want to have each TextBox underneath the corresponding column, it will be more complicated because the user can resize columns, and scroll horizontally.

OR simulate something it (totals to the bottom of a grid).
Create a readwright cursor (c2) with one record and the same fields as the table in the grid. Create another grid (grd2)(without headers) and put it at the bottom of the original grid. With some code update the values of the c2 cursor.
Previous
Reply
Map
View

Click here to load this message in the networking platform