Subject | Re: [IBO] How to supress some error messages |
---|---|
Author | Jason Wharton |
Post date | 2003-09-18T17:06:40Z |
> When I handle some error message in the Error event of the TIB_Queryof
> component, I use my own message window but the message "Record was not
> located to update" (for example) always shows up. How to avoid this kind
> messages?I've been wondering about how to tie the API errors from the client DLL
together with the functional errors like the one you are confronting.
Nothing wrong happened at the API level so there isn't any ERRCODE, etc. to
report on. I think for this one you would want to hook into the OnPostError
event and handle it there.
As it is right now you need to handle these exceptions explicitely in your
application code.
Jason Wharton