Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Column totals in a grid
Message
From
19/02/2004 17:39:11
 
 
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:
00878976
Views:
14
Agreed... no easy way.

If you are using a view that does not have SQL updates turned on you could append a blank record and stick the totals in there. Just be careful though because if tableupdates do get turned on in the view then you will be appending bogus records to your table. Depending on how robust the application needs to be you would probably want to consider checking to make sure the SQL updates are turned off before appending the record just to make sure.

Greg


>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform