Retrieving a list of available indexes with GetIndexNames
Go Up to Sorting records
At runtime, your application can call the GetIndexNames method to retrieve a list of available indexes for a table. GetIndexNames returns a string list containing valid index names. For example, the following code determines the list of indexes available for the CustomersTable dataset:
var
IndexList: TList;
{...}
CustomersTable.GetIndexNames(IndexList);