Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Column totals in a grid
Message
De
21/02/2004 10:32:44
 
 
À
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:
00879608
Vues:
16
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform