RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTable.IndexFiles Property

Specifies one or more dBASE index file to use for a dBASE table that uses non-production indexes.

Pascal
property IndexFiles: TStrings;
C++
__property TStrings IndexFiles;

Use IndexFiles to specify dBASE non-production index files and dBASE III PLUS-style .NDX indexes to use with the table. Set IndexFiles to the name of the non-production .MDX file. All index tags in the file become available for activation. This is as opposed to the index tags for a production index that become available automatically on opening the table. When using dBASE III PLUS-style .NDX indexes, add individual files to the list in the IndexFiles property. Both types of indexes become accessible through such means as the IndexName property and the GetIndexNames method. 

When index files are added to the list of available indexes, the table component opens them. The indexes are updated as data is added to, changed in, or deleted from the table. When files are removed from the list, the table component closes them, and they are no longer maintained.

Note: At design time, use the Object Inspector to add or remove index file names for the IndexFiles property. At runtime, set IndexFiles as a string list.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!