Datasnap.DBClient.TCustomClientDataSet.GetIndexInfo

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Unit: Datasnap.DBClient
Parent: TCustomClientDataSet

Delphi

procedure GetIndexInfo(IndexName: string);

C++

void __fastcall GetIndexInfo(System::UnicodeString IndexName);

Description

Retrieves information about the current index.

Call GetIndexInfo to populate a dataset's internal index fields with information about the current index, including its field count, map, and key size.

Pass the name of the current index as the IndexName to retrieve the default grouping level of the index as well. If an empty string is supplied for IndexName, no grouping level information is retrieved.

Warning: Do not pass GetIndexInfo the name of any index other than the current index.

See Also