Sign in Join
FPDoc Onlineexperiment

TComponentDataLink.Fields property

Member of TComponentDataLinkpublicIn unit DBGrids

Provides indexed access to fields in the linked dataset by their ordinal position.

Declaration

pascal
property Fields[Index: Integer]: TField read GetFields;

Description

Fieldss a read-only indexed TField property which provides access to fields in Dataset by their ordinal position. The return value contains the TField instance in DataSet at the ordinal position in Index. The property value is Nil if Index is not valid for the number of fields in DataSet.

Use DataSet.FieldCount to get the number of fields defined in the linked dataset.

See also

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