Skip to main content
Table of Contents

TTMSFNCDataGridDatabaseAdapterColumn.UseLookupEditor Property

When True (default), lookup fields are edited with a combo box filled from the lookup dataset.

API unit family: TMSFNCDataGridDatabaseAdapter Declaring type: TTMSFNCDataGridDatabaseAdapterColumn Type: Boolean

Syntax

FMX.TMSFNCDataGridDatabaseAdapter.hppPascalC++
property UseLookupEditor: Boolean;
__property bool UseLookupEditor = {read=FUseLookupEditor, write=FUseLookupEditor, default=1};

Default: True

Remarks

The list shows the LookupResultField values; choosing an item writes the matching LookupKeyFields value to the key field of the edited record. Set to False to edit lookup fields with a plain editor. Ignored when UseColumnEditor is True.