[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'DB' (#fcl)


How often should the value of calculated fields be calculated


Source position: db.pas line 1745

public property TDataSet.AutoCalcFields : Boolean
  read FAutoCalcFields
  write FAutoCalcFields
  default True;


AutoCalcFields is by default true, meaning that the values of calculated fields will be computed in the following cases:

When AutoCalcFields is False, then the calculated fields are called whenever

Both proper calculated fields and lookup fields are computed. Calculated fields are computed through the TDataset.OnCalcFields event.

See also



The kind of field.



Event triggered when values for calculated fields must be computed.

Documentation generated on: May 14 2021