Datasnap.DBClient.TCustomClientDataSet.IndexFieldNames

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property IndexFieldNames: string read GetIndexFieldNames write SetIndexFieldNames;

C++

__property System::UnicodeString IndexFieldNames = {read=GetIndexFieldNames, write=SetIndexFieldNames};

Properties

Type Visibility Source Unit Parent
property public
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Datasnap.DBClient TCustomClientDataSet

Description

Lists the fields to use as an index.

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.

Indexes added using IndexFieldNames do not support grouping or maintained aggregates.

Tip: Use IndexFieldNames to create sort orders on the fly at run time.

Note: The IndexFieldNames and IndexName properties are mutually exclusive. Setting one clears the other.

See Also