Auto Open (aka Structural) Indexes

<< Click to Display Table of Contents >>

Navigation:  Apollo API (Apollo Engine) >

Auto Open (aka Structural) Indexes

When the FoxPro or HiPer-SIx drivers open a table, by default, they also look for an index of the same base name as the table with the driver's default index extension. If found, the index is automatically opened.

For example, under the FoxPro driver (SDEFOX), opening TEST.DBF will also look for and open TEST.CDX. Under HiPer-SIx (SDENSX) an index of TEST.NSX would be automatically opened.

This 'AutoOpen' behavior can be disabled by calling:

VB Syntax

sx_SysProp( SDE_SP_SETDISABLEAUTO, 1 )

C Syntax

sx_SysProp( SDE_SP_SETDISABLEAUTO, (VOIDP) 1 );