General information
Category:
Forms & Form designer
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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only