Sign in Join
FPDoc Onlineexperiment

TFieldDataLink.Field property

Member of TFieldDataLinkpublicIn unit DBCtrls

The Field to which the datalink is attached.

Declaration

pascal
property Field: TField read FField;

Description

Field is a read-only TField property which contains the field definition in the linked DataSet for the database column represented by the FieldName property. Field provides access to the metadata for the database column, such as: field type, size, display values, lookup settings and content, editing mask, et. al.

The value in Field is assigned in the private UpdateField method when the value for the FieldName property is changed. Its value is also accessible to the data-aware Control using the TFieldDataLink instance.

The DataSource and DataSet properties contain the source with the fields and values for the class instance.

See also

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