Sign in Join
FPDoc Onlineexperiment

TBufDataset.FieldDefs property

Member of TBufDatasetpublishedIn unit BufDataset

Definitions of available fields in the underlying database.

Declaration

pascal
property FieldDefs:;

Description

FieldDefs is filled by the TDataset descendent when the dataset is opened. It represents the fields as they are returned by the particular database when the data is initially fetched from the engine. If the dataset uses dynamically created fields (when DefaultFields is True), then for each item in this list, a field i instance will be created with default properties available in the field definition. If the dataset uses persistent fields, then the fields in the field list will be checked against the items in the FieldDefs property. If no matching item is found for a persistent field, then an exception will be raised. Items that exist in the fielddefs property but for which there is no matching field instance, are ignored.

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

See also

  • Open
  • DefaultFields
  • Fields

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