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_tagname() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 AX_TagName()
 Get the name of the current or specified tag
------------------------------------------------------------------------------

 Syntax

     AX_TagName( [<nFileOrder>] ) -> charstring

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

 Returns

     Returns a character string of the name of currently active tag.  If
     the order is invalid or no index open, an empty string, " ", is
     returned.

 Description

     This function identifies the name of the currently active tag for the
     current or specified .cdx index.

     If the current or specified index is an .ntx or .idx, the index name
     with no extension is returned.  Otherwise, the active tag name in the
     .cdx file is returned.

     If <nOrder> is not specified, the current index order is used.

 Example

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

     AX_SetTag( "AGE" )            // Select the AGE tag
     ? AX_TagName()                // Returns "AGE"


See Also: AX_TagCount() AX_TagInfo() AX_TagNo() AX_IndexName()

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