Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
How to sum a column of a grid control
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement