Bde.DBTables.TTable.IndexFiles

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property IndexFiles: TStrings read FIndexFiles write SetIndexFiles;

C++

__property System::Classes::TStrings* IndexFiles = {read=FIndexFiles, write=SetIndexFiles};

Properties

Type Visibility Source Unit Parent
property published
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TTable

Description

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

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 run time, set IndexFiles as a string list.

See Also