procedure CloseIndexFile(const IName: string);
Description
Use IndexFiles property to close index files.
Deleting index file calls CloseIndexFile to perform index close.
Example:
tab.IndexFiles.Delete('indeks3');