Sign in Join
FPDoc Onlineexperiment

TDBLookupListBox.KeyField property

Member of TDBLookupListBoxpublishedIn unit DBCtrls

Field name in the lookup dataset with the value for the control.

Declaration

pascal
property KeyField: string read GetKeyField write SetKeyField;

Description

KeyField is a String property which contains the name of the field in the lookup dataset which provides the value stored in the data-aware control. Changing the value in KeyField causes the internal TDBLookup component to be updated, and calls the UpdateLookup method.

Use ListField to set the field name with the values displayed in the list of items for the control. Use ListFieldIndex to specify the list field by its ordinal field position in the lookup dataset.

See also

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