IDBLookupControl.ListField

Syntax

ListField: String;

Description

The ListField property determines one or more fields, the values of which are displayed in this component.

Comments

The ";" symbol acts as a separator of fields names.

A search component decrypts a field of one table, displaying a value of one or more corresponding fields of another table. The difference between the ListField property and the DataField or KeyField properties lies in following: the fields defined in the latter properties, are not displayed in the component, but are used to bind two sources.

To fully define the list fields, the user needs to define both ListSource data set, and the fields of this set.

Before determining the ListField, use the KeyField property to set a connection between two data sets. If the ListField property is not determined, the KeyField values are displayed by default.

See also:

IDBLookupControl