ID: Q93629
The information in this article applies to:
When the SET INDEX TO <filename> command is issued without any additional arguments, FoxPro closes all active indexes in the work area except for structural .CDX indexes.
When a database has a structural .CDX file attached, opening the database opens the index file. If the database also has other types of indexes, for example, .IDX or .IDX COMPACT, the SET INDEX TO <index file list> command opens the indexes.
After all desired indexes are open for the particular database, issuing a SET INDEX TO <filename> command closes all indexes opened in the current work area except the structural .CDX index.
Structural .CDX files were introduced in FoxPro version 2.0. In versions of FoxPro prior to version 2.0, the SET INDEX TO <filename> command closes all indexes open in a work area.
Additional reference words: FoxDos FoxWin 1.00 1.x 2.00 2.50 2.50a workarea KBCategory: kbprg KBSubcategory: FxprgGeneral
Last Reviewed: June 27, 1995