Sign in Join
FPDoc Onlineexperiment

TSQLQuery.AutoCalcFields property

Member of TSQLQuerypublishedIn unit SQLDB

How often should the value of calculated fields be calculated.

Declaration

pascal
property AutoCalcFields:;

Description

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

  • When the dataset is opened
  • When the dataset is put in edit mode
  • When a data field changed

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

  • The dataset is opened
  • The dataset is put in edit mode

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

This description is the one of DB.TDataSet.AutoCalcFields.

See also

  • FieldKind
  • OnCalcFields

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