RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TQuerySelectOptions.DataSet Property

Specifies a dataset that supplies the possible values listed in the generated control.

Pascal
property DataSet: TDataSet;
C++
__property TDataSet DataSet;

Use DataSet to specify a dataset from which the component can extract the selections that appear to the user and the underlying values they represent. The ItemsField property specifies the field in this dataset that lists the selections that appear in the generated control. The ValuesField property specifies the field in this dataset that lists the corresponding values that are assigned to the control.

Note: If the list of possible values is not available in a dataset, use the Items and Values properties instead to list the selections that appear to the user and the underlying values they represent.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!