Bt_ErrorMsg() Function

 

<< Click to Display Table of Contents >>

Navigation:  Support Functions >

 

Bt_ErrorMsg() Function

 

Previous pageReturn to chapter overviewNext page

 

Purpose

 

 

Get text error message by passing error number

 

 

 

Prototype

 

 

FUNCTION Bt_ErrorMsg ( nError  := -1 AS LONG  )   AS STRING PASCAL

 

 

 

Argument(s)

 

 

<nError>                is an error number.

 

 

 

 

Return

 

 

STRING                BT_ERRMSG() with no arguments returns the error message associated with the most recent Btrieve operation. If no error was generated by the last operation, the message Successful operation will be returned. BT_ERRMSG(<nError>) returns the message text associated with the specified number.

 

 

 

See Also

 

 

BT_ERROR()