Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Updating in Grid Column Sum
Message
From
04/10/2001 23:05:58
 
 
To
04/10/2001 22:51:00
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00564605
Message ID:
00564608
Views:
12
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
Previous
Reply
Map
View

Click here to load this message in the networking platform