Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Advantage CA-Clipper Guide v6.11 - ax_tagorder() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 AX_TagOrder()
 Find tag order of current compound index (.cdx)
------------------------------------------------------------------------------

 Syntax

     AX_TagOrder() -> numeric

 Returns

     Returns the currently active tag order, as would be set by the
     AX_SetTagOrder() function or the SET TAGORDER TO command.

 Description

     This function is useful for finding out what tag order is currently
     active.  The function considers any open .idx or .ntx file as a tag.

     This function returns the currently active tag order, including ALL
     open index files.  To get the currently active tag for the current
     (or specified) .cdx file only, use the AX_TagNo() function.

 Example

     // Old way
     USE client VIA "DBFCDXAX"               // Open file
     SET INDEX TO this, that, other          // Open indexes

     dbSetOrder( 2 )                         // Select THAT.NTX
     ? IndexOrd()                            // Displays 2

     // New way (assume MAILER.CDX file contain same tags as above)
     USE mailer VIA "DBFCDXAX"               // Open MAILER.DBF, MAILER.CDX

     AX_SetTagOrder( 2 )                     // Select THAT tag
     ? AX_TagOrder()                         // Displays 2


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