Cicode Programming Reference > Cicode Function Categories > SQL Functions Introduction > SQLErrMsg

SQLErrMsg

Returns an error message from the SQL 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.

Syntax

SQLErrMsg()

Return Value

The error message (as a string).

Related Functions

SQLBeginTran, SQLCommit, SQLConnect, SQLDisconnect, SQLEnd, SQLExec, SQLFieldInfo, SQLGetField, SQLInfo, SQLNext, SQLNoFields, SQLNumChange, SQLRollBack, SQLTraceOff, SQLTraceOn

Example

See SQLConnect

See Also

SQL Functions