Data.DB.TField.LookupResultField

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property LookupResultField: string read FLookupResultField write SetLookupResultField;

C++

__property System::UnicodeString LookupResultField = {read=FLookupResultField, write=SetLookupResultField};

Properties

Type Visibility Source Unit Parent
property published
Data.DB.pas
Data.DB.hpp
Data.DB TField

Description

Identifies the field from the lookup dataset whose value becomes the Value property of the field component.

Use LookupResultField to specify a single field in the LookupDataSet whose value becomes the value of the field component. The field component must have a FieldKind of fkLookup, and the DataType of the field component must be the same as the data type of LookupResultField.

When a field component is a lookup field, the Value of the field component is the value of the LookupResultField in the LookupDataSet. The record in the LookupDataSet that contains the correct value is found by matching the LookupKeyFields in the LookupDataSet with the current values of the KeyFields in the DataSet.

See Also