ExecuteComplete does not fire with adAsyncExecute?
- From: "David Rueter" <nospam_drueter@xxxxxxxxxx>
- Date: Thu, 9 Aug 2007 14:38:06 -0700
I am using an ADO Command object to execute a stored procedure. I have an
event hander to handle the ExecuteComplete event.
The event handler is called as expected, unless execution is with the
adAsyncExecute option set. In this case, the event handler is not called
upon successful completion execution. (Note: ExecuteComplete is called as
expected if an error is encountered on execution, even if adAsyncExecute is
set.)
In other words, ExecuteComplete does not seem to fire upon successful
completion when the adAsyncExecute option is used.
Am I doing something wrong, or is this an ADO limitation? How am I supposed
to know when asynchronous execution of a stored procedure is complete?
(MDAC 2.8 SP1)
Sincerely,
David Rueter
drueter@xxxxxxxxxx
.
- Follow-Ups:
- Prev by Date: Re: Accessing binary field in a Microsoft Access database table
- Next by Date: Re: connection string format
- Previous by thread: Re: Accessing binary field in a Microsoft Access database table
- Next by thread: Re: ExecuteComplete does not fire with adAsyncExecute?
- Index(es):
Relevant Pages
|
|