TTMSFNCDataGridDatabaseAdapterLookupItem Class
Key/value pair for one entry of a lookup field's combo box list.
API unit family: TMSFNCDataGridDatabaseAdapter
Syntax
TTMSFNCDataGridDatabaseAdapterLookupItem = class
class PASCALIMPLEMENTATION TTMSFNCDataGridDatabaseAdapterLookupItem : public System::TObject
Remarks
The adapter stores one instance as the object of each item it adds to a lookup editor's list. When the edited value is written back, the Key of the selected item is stored in the lookup field's key field instead of the displayed text.
Properties
| Name | Description |
|---|---|
| Key | Value of the lookup dataset's LookupKeyFields field for this entry. |
| Value | Value of the lookup dataset's LookupResultField field for this entry, as shown in the list. |