|
To close a particular index file, it must already have been opened previously with the DBUseIndex function. This function returns an index ID value you should store in a global variable. This ID value is then supplied as an argument to the DBCloseIndex function to tell FileFlex you no longer need the index file to be available.
Assuming that you have previously opened the index file STAR.NDX and have its reference stored in the global variable starIndex, you would close that index with a line like the one in the example below.
|