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_tagno() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 AX_TagNo()
 Number of the active tag within a compound index (.cdx) file
------------------------------------------------------------------------------

 Syntax

     AX_TagNo( [<nFileOrder>] ) -> numeric

     <nFileOrder> An optional numeric value specifying the index file
     order position of the desired index to use.  The index order is based
     on the order in which the indexes are opened.

 Returns

     Returns the position of the currently active tag within the current or
     specified .cdx index.  If the index order is invalid or no index is
     open, a zero is returned.

 Description

     This function returns the position of the currently active tag within
     the current or specified index.  This position is based on the order
     in which the tags were created.

     If <nOrder> is not specified, the currently active index file is
     used.

     Note:  This function only returns the currently active tag for the
     current or specified compound .cdx file.  To get the currently active
     tag order, counting ALL open .cdx and .idx files, use the
     AX_TagOrder() function.

 Example

     USE test VIA "DBFCDXAX"            // Open TEST.DBF and TEST.CDX

     SET TAGORDER TO 2                  // Select the second TAG in TEST.CDX
     ? AX_TagNo()                       // Returns 2


See Also: AX_TagCount() AX_TagInfo() AX_TagName() AX_Tags()

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