Can someone please tell me how to use the function "DBSQLExecuteError" in Vectorscript?
I'm not sure if I am doing it right,
but below is my sample code
which has given me two results, so far.
SAMPLE SCRIPT
PROCEDURE CheckDBError;
VAR
msg , state, internalDesc : DYNARRAY[]OF CHAR;
code : LONGINT;
error : BOOLEAN;
BEGIN
error := DBSQLExecuteError(msg, state, code, internalDesc);
AlrtDialog (Concat('Error Output = ', code));
END;
Run(CheckDBError);
===========================================================
RESULT
1. -1317141234
2. 2883687
Thanks.
Sincerely,
Mikay