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

# TDBMemo.DataField

The name of the field, as a string (i.e. cannot be referred to as an Index).

## Declaration

Source position: dbctrls.pp line 1041

`published property TDBMemo.DataField : string read GetDataField write SetDataField;`

## Description

DataField is a String property which contains the name of the field in the linked dataset where the value for the control is stored. Read and write access to the property value are redirected to the FieldName property in the TFieldDataLink instance used in the class. Changing the value in DataField causes the value in the Field property to be updated.

Use DataSource to specify the component which provides access to the linked dataset for the control.

## See also

TDBMemo.DataSource |  | Provides access to the dataset with content for the control.
TDBMemo.Field |  | Provides access to the field definition for the data-aware control.
TFieldDataLink.FieldName |  | FieldName - the name of the attached field, stored as a string.
TDataLink.DataSource
TDataLink.DataSet