Sign in Join
FPDoc Onlineexperiment

TCustomDBComboBox.DataField property

Member of TCustomDBComboBoxpublicIn unit DBCtrls

The name of the Field which provides the values displayed in the control.

Declaration

pascal
property DataField: string read GetDataField write SetDataField;

Description

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

Set the value in DataSource to the component which provides access to the dataset for the data-aware control.

See also

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