TMemDataset.ClearCalcFields procedure
Clears calculated field values.
Declaration
procedure ClearCalcFields(Buffer: TRecordBuffer); overrideArguments
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.
