Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Column totals in a grid
Message
De
19/02/2004 17:39:11
 
 
À
19/02/2004 17:35:04
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00878947
Message ID:
00878976
Vues:
15
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform