Information générale
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Titre:
Calculated fields in bound DBGrid
I already sent a similar message but now the calculations I want to do
are not as simple as an average ...
I use a DBGrid control bound to a control data. I would like to make a calculation on the fields of the recordset (containing numbers) of the control data. I woluld like the result appear in a supplemental column of the grid control (not bound to the control data). I would also like this calculation 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
Suivant
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