Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding integers in a grid
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00808717
Message ID:
00808747
Vues:
8
Kenneth,

SCAN the RowSource used to fill the grid and add the values up.
select (this.RowSource)
lnTotal = 0
scan
   lnTotal = lnTotal + TheColumn
endscan

thisform.txtGrandTotal.Value = lnTotal && assumed displayer of the value
>I would like to add all the integers in a grid. I'm sure this is quite easy but currently I have no ideas. Help is greatly appreciated.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform