Advantage TDataSet Descendant
Closes an index order.
procedure AdsCloseIndex( strTag : String );
Tag name of the index order to close. If this is a tag of an index order within a compound index file, then the file is closed. The file is not deleted.
It is not possible to close an AutoOpen index. Any attempts to use an index tag that is closed with an Advantage Client Engine function will raise an exception. The index file can be reopened as long as the table it is associated with is open.
AdsTable1.OpenIndexFile( ‘x:\path\file.ext’ );
AdsTable1.CloseIndexFile( ‘file’ );