Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement