ExtraIndexes

<< Click to Display Table of Contents >>

Navigation:  Apollo VCL Components > Apollo VCL Component Reference > TApolloTable > TApolloTable Properties >

ExtraIndexes

Declaration

property ExtraIndexes: TStringList;

Description

The ExtraIndexes property is a list of strings that contain the non-structural index files associated with the current table object. This property is usually set at design time, but can also be set or changed at run time.

 

Only structural index files -- such as dBASE .MDX, FoxPro .CDX, and HiPer-SIx .NSX indexes -- can be used in TApolloTable's IndexName property. Single-order index files -- such as Clipper .NTX or FoxPro .IDX files -- must be specified in TApolloTable's ExtraIndexes list.

image\tip.gif Indexes listed in the ExtraIndexes list are automatically opened when the table is opened and closed when the table closes. Therefore, any index file included in the list must already exist when the table is opened.

Delphi Example

ApTbl.ExtraIndexes.Add( 'c:\Apollo\names.ntx' );

ApTbl.ExtraIndexes.Add( 'c:\Apollo\cust1.ntx' );

ApTbl.ExtraIndexes.Add( 'c:\Apollo\cust2.ntx' );

C++Builder Example

ApTbl->ExtraIndexes->Add( "c:\\Apollo\\names.ntx" );

ApTbl->ExtraIndexes->Add( "c:\\Apollo\\cust1.ntx" );

ApTbl->ExtraIndexes->Add( "c:\\Apollo\\cust2.ntx" );

See Also

IndexOpen