Hello,
How to get information from a TIBCScript or a TIBCQuery when it makes exceptions(bad SQL), not just the error message, but the other information such as table name and primary key value?
Thanks for help
Regards
Information on error on TIBCScrpit/TIBCQuery
-
AndreyZ
Hello,
Such errors are server-side and IBDAC returns them in the error message. Therefore you can find this information only in the error message. You can use the Message, ErrorCode, ErrorNumber, and SQLErrorMsg properties of the EIBCError class to get more information about the error you've got. For more information about the EIBCError class, please read the IBDAC documentation.
Such errors are server-side and IBDAC returns them in the error message. Therefore you can find this information only in the error message. You can use the Message, ErrorCode, ErrorNumber, and SQLErrorMsg properties of the EIBCError class to get more information about the error you've got. For more information about the EIBCError class, please read the IBDAC documentation.