RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomClientDataSet.GetIndexInfo Method

Retrieves information about the current index.

Pascal
procedure GetIndexInfo(IndexName: string);
C++
__fastcall GetIndexInfo(AnsiString IndexName);

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.
 

 

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