|DBReindex -- Rebuild the index file
|Using Index Files
|If your index file is not valid, you can force FileFlex to completely reconstruct the file using DBReindex.
|Indexes are tied to their original data files. As such, you must have the appropriate data file selected with a DBSelect function before calling DBReindex. Failure to do so usually results in FileFlex generating an error code and the user calling technical support. Are you beginning to notice a trend here?
put DBReindex(indexID) into dbResult