Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

SQLErrMsg

  • Last UpdatedJul 18, 2023
  • 1 minute read

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).

SQLTraceOff.

Example

See SQLConnect.

See Also

SQL Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in