AdsCloseAllIndexes

Advantage Client Engine

Closes all index orders for a given table.

Syntax

UNSIGNED32

AdsCloseAllIndexes (ADSHANDLE hTable);

Parameters

hTable (I)

Close all indexes for this table or cusor.

Remarks

It is not possible to close an AutoOpen index. If the table has an AutoOpen index, AdsCloseAllIndexes will return SUCCESS, but index order handles from the AutoOpen index will still be valid.

Note Updating data in a table without all associated indexes being opened can result in index corruption. If such corruption occurs, it can be repaired by calling AdsReindex on the table handle.

 

Note It is illegal to close all index orders during a transaction.

Example

Click Here

See Also

AdsCreateIndex

AdsOpenIndex

AdsReindex