THIS FUNCTION HAS CHANGED IN FILEFLEX 3.0|
Indexes in FileFlex 3 use FoxPro's compact index format, called .CDX. This is different from indexes used in FileFlex 2.X, and you'll need to recreate any old FileFlex 2.X indexes prior to using them in FileFlex 3.
To open an index file, use the FileFlex DBUseIndex function. Supply the index file's name, including path name if needed, as an argument. Assign the result of this function to a global variable, since you'll need to refer to its database ID in other scripts and handlers.
Alternatively, you can split the path specification into two parameters: the first the actual file name and the second the path specification. In the runtime, the path specification will remain unchanged but the database file name will be decrypted: