>>TEXT TO lcSql TEXTMERGE NOSHOW >> usp_UpdateErrors '<<tcErrText>>' >>ENDTEXT >>>
>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 >Following does not create 'c:\error.txt'
TEXT TO lcSql TEXTMERGE NOSHOW usp_UpdateErrors '<<tcErrText>>' ENDTEXT =AERROR(arr) STRTOFILE(arr(1, 2), 'c:\error.txt')