General information
Category:
Database DAO/RDO/ODBC/ADO
Title:
Calculated fields in bound DBGrid
I use a DBGrid control bound to a control data. I would like to calculate the average of the fields of the recordset and have this average appearing in a supplemental column of the grid control (not bound to the control data). I would also like this average to refresh instantaneously each time the user modify one field of the grid.
I tried to do that by using a clone recordset and the BeforeColUpdate event of the grid but it didn't work.
Thanks in advance,
Regards PEC
Next
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