[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'DBCtrls' (#lcl)

# TFieldDataLink.Field

The Field to which the datalink is attached.

## Declaration

Source position: dbctrls.pp line 88

`public property TFieldDataLink.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

TFieldDataLink.Control |  | The Control to which this datalink is attached.
TFieldDataLink.FieldName |  | FieldName - the name of the attached field, stored as a string.
TDataLink.DataSource
TDataLink.DataSet