RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TClientDataSet.IndexFieldNames Property

Lists the fields to use as an index.

Pascal
property IndexFieldNames: Widestring;
C++
__property BSTR IndexFieldNames;

Use IndexFieldNames as an alternative method of specifying the index to use for a client dataset. Specify the name of each field on which to index the dataset, separating names with semicolons. Ordering of field names is significant.

Note: Indexes added using IndexFieldNames do not support grouping or maintained aggregates.
Tip: Use IndexFieldNames to create sort orders on the fly at runtime.
Note: The IndexFieldNames and IndexName properties are mutually exclusive. Setting one clears the other.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!