Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Updating in Grid Column Sum
Message
De
04/10/2001 23:05:58
 
 
À
04/10/2001 22:51:00
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00564605
Message ID:
00564608
Vues:
13
Ransome,

Try this way -

In AfterRowColChange Event :

Local nDr, nCr, nRecNo, nSelect
nSelect = Select()
nDr = 0
nCr = 0
Select grdvDetail
nRecNo = RecNo()
Scan
nDr = nDr + vDebit
nCr = nCr + vCredit
EndScan
Goto nRecNo
Select (nSelect)
ThisForm.txtDrTotal.Value = nDr
ThisForm.txtCrTotal.Value = nCr


Manoj
Manoj Karki
manoj0karki@yahoo.com
Nepal
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform