Sign in Join
FPDoc Onlineexperiment

TMemDataset.ClearCalcFields procedure

Member of TMemDatasetprotectedIn unit MemDs

Clears calculated field values.

Declaration

pascal
procedure ClearCalcFields(Buffer: TRecordBuffer); override

Arguments

Buffer

Record buffer updated in the method.

Description

ClearCalcFields is an overridden procedure used to initialize the storage for calculated fields in the record buffer. ClearCalcFields implements the virtual method defined in the ancestor class. ClearCalcFields calls FillChar to store the value #0 at the RecordSize position in Buffer. The number of #0 values written is determined buy the CalcFieldsSize property.

ClearCalcFields is used in the InitRecord method.

See also

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