JVCL Help:TJvDBLookupEdit.LookupDisplay

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Identifies the field or fields whose values are displayed in the lookup list.


Pascal

 propertyLookupDisplay: string;


Description

The lookup control represents a field in one table by displaying the value of one or more corresponding fields in another table. LookupField is the name of the field or fields in the lookup table that are actually displayed, as opposed to the DataField, which is the field in the DataSource that the lookup control actually represents, or the LookupField, which is the field in the lookup table with the same value as the DataField.
To fully specify the list fields, both a dataset for the lookup table and the fields within that dataset must be defined. The LookupSource property of the lookup control specifies the dataset for the lookup table.
LookupField can represent more than one field. Separate multiple field names with semicolons.
Before specifying LookupField, specify the link between the two datasets using the LookupField property. If LookupField is not set, lookup controls display LookupField field values by default. If the DataField field is a lookup field, don't specify anything for LookupField; the data controls automatically use the lookup field's LookupResultField property as LookupField.


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page