|DBCreateIndex -- Create an index file|
DBCreateIndex(index-file, num-tags, tags, overwrite-flag)
|Using Index Files|
THIS FUNCTION HAS CHANGED IN FILEFLEX 3.0|
Use the DBCreateIndex function to create a brand-new index file.
Here's the format for a tag record:
Order must be 'A' for ascending or 'D' for descending. If filter-expr is "0", then no filter is applied. There can be any number of tags per index file (separated by newlines), allowing for lots of complex orderings. The new indexes allow for complex filtering operations, uniqueness, and more.
DBCreateIndex has an overwrite flag that's "true" or "false" (true if you don't want FileFlex to overwrite an existing index file).
FileFlex 3 no longer supports the Database Designer movie. If you attempt to use the old FileFlex 2 Database Designer to create indexes, you'll get incompatible files. The best approach to creating accurate indexes is to use FoxPro.|