Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculate the total.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00478403
Message ID:
00480578
Vues:
33
>I wonder if you explain me more about it. Please I can not understand you as soon as you want.




I had a grid that was similar to your request. It was used for End of Day cash out process. The user would count the money in their register and document in the grid what the count was.

Data bill bill
count total


Change 27.53
One 87 87.00
Five 18 90.00
Ten 10 100.00
ETC.
Total 304.53


The user would put values in the change, and then the # of bills in each denomination. In the afterrowcolumnchange event of the grid I would


sele sum(billcount * billvalue) as total from eod_temp into eod_t

with thisform.textbox3
.value = eod_t.total
.refresh
endwith

HTH

__Stephen
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform