Sign in Join
FPDoc Onlineexperiment

TMemDataset.AllocRecordBuffer function

Member of TMemDatasetprotectedIn unit MemDs

Allocates memory needed for a record buffer in the in-memory dataset.

Declaration

pascal
function AllocRecordBuffer: TRecordBuffer; override

Function result

Memory allocated for the record buffer.

Description

AllocRecordBuffer allocates memory needed for a record buffer in the in-memory dataset. AllocRecordBuffer calls GetMem to allocate the memory used in the return value for the method. Sufficient memory is allocated for the fields defined in FieldDefs and includes any calculated fields.

AllocRecordBuffer implements the virtual method from the ancestor class.

See also

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