Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Totaling grid column..
Message
 
À
11/08/1999 15:25:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00252656
Message ID:
00252856
Vues:
11
>Hi Frank,
>
>>is there a way to total a column when using grid controls, if not, recommendations?
>
>I would suggest using your data instead of the control that displays your data.
>
>Put a text box under your grid, in the refresh put:
>
>
This.Value = SUM(myTable.myField) &&or whatever the sysntax for sum() is
Then just refresh the textbox in your afterrowcolchange or wherever else you see fit.

But what if the user reorders or resizes the grid columns, how can we get the column total textbox to follow its' column to its new position?
Vidar Johannessen
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform