Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to sum a column of a grid control
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
How to sum a column of a grid control
Divers
Thread ID:
00638188
Message ID:
00638188
Vues:
44
Hello, I have a grid control on a form, and a text box below it.
the values in one of the columns of the grid are numeric.

I would like to put the sum of the values from this particular column to the text box.
I get the error saying "The sum.prg not found"?

the code is as follows:

in the init() method of the text box

this.value=sum(this.parent.grid1.column5.text1.value)

does anyone know how to deal with this or fix it?

thanks before-hand.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform