Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Updating in Grid Column Sum
Message
De
04/10/2001 22:51:00
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Dynamic Updating in Grid Column Sum
Divers
Thread ID:
00564605
Message ID:
00564605
Vues:
37
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform