Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Updating in Grid Column Sum
Message
From
04/10/2001 22:51:00
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Dynamic Updating in Grid Column Sum
Miscellaneous
Thread ID:
00564605
Message ID:
00564605
Views:
35
Dear all,

In my account program, a grid holds the voucher contents with a local view - grdvdetail (say), on the form, I utillize a [OK] commanbutton to update the final editng to the voucher contents with a code statement :

select grdvdetail
tableupdate(.t.)

On the foot of the form, I utilize a set of textboxs which calculate the total debit amount, total credit amount and total balance by using another view which coding as

select sum(vdebit) as tdebit, sum(vcredit) as tcredit from grdvdetail into cursor tsum

How can refesh the total debit amount, total credit amount, and the total balance, before I click th e [OK] button to tableupdate the view grdvdetail??
as I edit the debit amount and the credit amount in the grid columns.


With regards,

Ransome
Next
Reply
Map
View

Click here to load this message in the networking platform