>TEXT TO lcSql TEXTMERGE NOSHOW > usp_UpdateErrors '<<tcErrText>>' >ENDTEXT >OK, what AERROR says?
TEXT TO lcSql TEXTMERGE NOSHOW usp_UpdateErrors '<<tcErrText>>' ENDTEXT This.mExecutesqlCommand(lcSql, '', '') && is not executed ** Because IO don't know what code you have in mExecutesqlCommand() method ** I suggest you to put AERROR immediately AFTER you executing the string *** IF SQLEXEC(...., lcSQL,[CursorGoHere]) < 0 AERROR(laError) MessageBox(laError[1,2]) && Or write it to LOG file if you build DLL ENDIF