Returns an error message from either a particular data object or entire data system. If a 307 error code occurs when one of the SQL functions is called, an SQL error message is generated. Call this function to get that error message.
This function can be called in the foreground or background.
Syntax
SQLErrMsg(hGeneral)
hGeneral:
The handle to any data object either to the database connection object, recordset or query. The default value is -1 and then the function returns the error message for entire SQL system.
Return Value
The error message (as a string).
Related Functions
SQLErrMsg, SQLTraceOff, SQLTraceOn
Example
See SQLConnect
See Also
Published June 2018