Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid row column calculation problem
Message
De
26/04/2002 06:19:43
 
 
À
16/04/2002 16:52:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00645708
Message ID:
00649507
Vues:
13
Sajjad

The best way to get row totals is to set the controlsource to give the result you want:

grid1.column7.controlsource = mytable.quantity*mytable.price

You will find that working directly with data (mytable.quantity*mytable.price) is more predictable than properties of objects (column5.text1.value*column6.text1.value) when you are using grids.

If you want column totals too, then try using a SQL query against the data source because it will give you results without moving the record pointer and therefore scrolling the grid.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform