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 v5.5 - ax_error() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 AX_Error()
 Internal error code for last Advantage operation
------------------------------------------------------------------------------

 Syntax

     AX_Error() -> numeric

 Returns

     Returns a numeric value representing the internal error code from the
     last command or function.  If no error occurred, a zero is returned.

 Description

     AX_Error() returns the error status of the last executed Advantage
     operation.  Each Advantage RDD command and function defines an error
     code.  If the Advantage operation completes successfully, a zero is
     returned.  If the operation fails, the specific internal error code is
     returned.

 Example

     USE test VIA "DBFCDXAX"        // Open TEST.DBF and TEST.CDX
     SET ORDER TO TAG lastname      // Select the LASTNAME tag

     IF AX_Error() > 0              // Check for error
        Alert( "TAG NOT FOUND" )    // Display information message
     ENDIF


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