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

# TDBCheckBox.Field

Provides access to the field definition for the data-aware control.

## Declaration

Source position: dbctrls.pp line 685

`public property TDBCheckBox.Field : TField read GetField;`

## Description

Field is a read-only TField property which provides access to the field definition to which the data-aware control is linked. Read access for the property is redirected to the Field property in the internal TFieldDataLink class instance.

Field can be used to access properties, methods, and events for the field definition in the linked dataset. This includes the data type, field kind, size, current value, display labels, key fields, lookup information, constraints, etc. There are also properties which handle conversion of the field value to different data types.

Use DataField to read or write the field name used for the data-aware control. Use DataSource to specify the data source with the dataset containing the specified field name.

## See also

TDBCheckBox.DataField |  | The name (as a string) of the field with which the check box is to be associated.
TDBCheckBox.DataSource |  | Provides access to the dataset with content for the control.
TFieldDataLink |  | Maintains an association between a control, an action, and a field in a linked dataset.
TField