SimpleDS.TSimpleDataSet.IndexName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property IndexName: string read GetIndexName write SetIndexName default 0;

C++

__property IndexName = {default=0};

Properties

Type Visibility Source Unit Parent
property published
SimpleDS.pas
SimpleDS.hpp
SimpleDS TSimpleDataSet

Description

Identifies an index for the client dataset.

SimpleDS.TSimpleDataSet.IndexName inherits from Datasnap.DBClient.TCustomClientDataSet.IndexName. All content below this line refers to Datasnap.DBClient.TCustomClientDataSet.IndexName.

Identifies an index for the client dataset.

Use IndexName to specify an alternative index for a client dataset. If IndexName is empty, the dataset's sort order is based on the IndexFieldNames property or on its default ordering in the data packet. Default ordering is determined by the predefined index, DEFAULT_ORDER.

If IndexName contains a valid index name, then that index is used to determine sort order of records.

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

See Also

Code Examples