Hi. I am excuting a DLL script, creating a table. When i execute this script and the table exists, i get the corresponding error from the DBEngine ("Unsuccesful metadata update, table XX already exists). Is there anyway of bypassing this error dialog box ??? I need to implement an OnError event that just shows an error bitmap.
Thanks in advance
Matias
TIBCScript OnError event
Re: TIBCScript OnError event
In order to avoid showing error messages, you should set the Action parameter in the IBCScript.OnError event handler to eaContinue if you want to continue script execution, or to eaAbort if you want to abort script execution. In both these cases, no error message will be displayed.
Please, refer to the help topic for the TErrorAction enumeration in the IBDAC documentation to learn more about possible Action values.
Please, refer to the help topic for the TErrorAction enumeration in the IBDAC documentation to learn more about possible Action values.