Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SIx Driver RDD v3.00 - Reference Guide - <b>how can i close a structural cdx/nsx file?:</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  How can I close a structural CDX/NSX file?:

  You can't.  A structural CDX or NSX file, by design, is automatically
  opened with it's parent database file, and remains open until the database
  is closed.

  There are two ways to prevent this, if this is not the behavior you desire:

    .  Call Sx_AutoOpen(.F.).  This disables the auto-open feature of the
       structural indexes.

    .  Don't give the CDX/NSX file the same base name as the database file.
       For example:

         Instead of this:

            USE TEST VIA "SIXCDX"
            INDEX ON last TAG last        // By default creates TEST.CDX
            INDEX ON city TAG city

            SET INDEX TO                  // Does NOT close TEST.CDX

         Do this:

            USE TEST VIA "SIXCDX"
            INDEX ON last TAG last OF FOOBAR  // Creates FOOBAR.CDX
            INDEX ON city TAG city OF FOOBAR

            SET INDEX TO                      // DOES close FOOBAR.CDX



Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson