RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetValuesList.NameField Property

Indicates the field in the associated dataset that supplies the name part of this list's name/value pairs.

Pascal
property NameField: string;
C++
__property AnsiString NameField;

Set NameField to specify the dataset field that holds the names of this adapter's name/value pairs. Each entry in TCustomDataSetValuesList is a name/value pair that corresponds to the values of the NameField and ValueField fields of the associated dataset for a single record in the dataset. NameField is the same as the FieldName property of the dataset field that supplies the names. 

 

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