Advantage Client Engine
Retrieves the total number of open index orders associated with the given table.
UNSIGNED32 |
AdsGetNumIndexes (ADSHANDLE hTable, UNSIGNED16 *pusNum); |
hTable (I) |
Handle of table or cursor. |
pusNum (O) |
Return number of index orders. For example, if the user opened a CDX file with 5 tags and an IDX, this function would return the total 6. |
The number of indexes returned does not necessarily correspond to the number of index files opened for the table. A compound index may contain multiple index orders. Calling this function before calling AdsGetAllIndexes will provide the number of index orders that will be returned. AdsGetNumIndexes does not return information for full text search indexes.