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_indexname() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 AX_IndexName()
 Return file name of an open index file
------------------------------------------------------------------------------

 Syntax

     AX_IndexName( [<nFileOrder>] ) -> charstring

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

 Returns

     Returns the file name, including the extension, of the current or
     specified index.  If no index exists for the specified order, "" is
     returned.

 Description

     AX_IndexName() identifies the index file name specified by the index
     order position. The file name returned includes the full extension.  If
     the index order position is not specified, the active index file name
     is returned.

 Example

     USE test VIA "DBFCDXAX"
     INDEX ON state TO state

     // Display table name:  TEST.DBF
     ? "The currently open table is..:" + AX_TableName()

     // Display index name:  STATE.IDX
     ? "The currently active index file is..:" + AX_IndexName()



See Also: AX_TableName() AX_TagName()

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