Sign in Join
FPDoc Onlineexperiment

TCustomBufDataset.InternalInitFieldDefs procedure

Member of TCustomBufDatasetprotectedIn unit BufDataset

Performs actions needed to initialize field definitions for the dataset.

Declaration

pascal
procedure InternalInitFieldDefs; override

Description

InternalInitFieldDefs is an overridden procedure used to perform actions needed to initialize field definitions for the dataset. InternalInitFieldDefs implements the abstract method defined in the ancestor class.

InternalInitFieldDefs uses the value in the FileName property to determine if field definitions can be loaded from a file on the local file system. When FileName is not an empty string (''), the IntLoadFieldDefsFromFile is called to load the field definitions for the dataset. The internal data packet reader and the file stream used in the operation are freed after loading the field definitions for the specified file name.

No actions are performed in the method when FileName contains an empty string ('').

InternalInitFieldDefs is used in the implementation of the InitFieldDefs and OpenCursor methods.

See also

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