Sign in Join
FPDoc Onlineexperiment

TCustomSQLQuery.OnCalcFields property

Member of TCustomSQLQueryprotectedIn unit SQLDB

Declaration

pascal
property OnCalcFields:;

Description

Not described here; this is what TDataSet.OnCalcFields says of it:

Event triggered when values for calculated fields must be computed.

OnCalcFields is triggered whenever the dataset needs to (re)compute the values of any calculated fields in the dataset. It is called very often, so this event should return as quickly as possible. Only the values of the calculated fields should be set, no methods of the dataset that change the data or cursor position may be called during the execution of this event handler. The frequency with which this event is called can be controlled through the AutoCalcFields property. Note that the value of lookup fields does not need to be calculated in this event, their value is computed automatically before this event is triggered.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.