Thread View: borland.public.cppbuilder.database.ado
1 messages
1 total messages
Started by Daniel Block
Thu, 29 Mar 2001 16:53
newbie question
Author: Daniel Block
Date: Thu, 29 Mar 2001 16:53
Date: Thu, 29 Mar 2001 16:53
14 lines
1354 bytes
1354 bytes
I am executing a TADOQuery query that causes an PK/FK violation error. I am trying to "catch" this error with the OnDeleteError, OnEditError, or OnPostError events of the TADOQquery object but they are not being triggered for some reason. Is the error being triggered in the TADOConnection object or somewhere else before it gets to the query? Could I have some property not set correctly? I can "catch" the error if I call qry_name->ExecSQL(); within a try/catch environment but this approach obviously lacks the error handling options of the query error events. Thanks. Daniel
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads