S
Steve Jorgensen
Hi all,
The problem I'm having is actually documented as a bug in all versions of
ADO through and including 2.7, but it seems to be true in 2.8, too, so I
assume the article simply hasn't been updated.
I need to execute a long-running stored procedure that uses RAISEERROR to
report progress as warning messages. If I run the command synchronously, I
can read all the messages from ADO, but not until the procedure is done.
If I run the command asynchronously, the messages never appear in the
Errors collection.
Has anyone come up with a work-around for this?
Thanks,
- Steve J
By the way, I also tried DAO's ODBC-Direct for asynchronous execution, but
it doesn't seem to return warning messages in either synchronous or
asynchronous mode, though it does return a non-sense type conversion error
at some points.
The problem I'm having is actually documented as a bug in all versions of
ADO through and including 2.7, but it seems to be true in 2.8, too, so I
assume the article simply hasn't been updated.
I need to execute a long-running stored procedure that uses RAISEERROR to
report progress as warning messages. If I run the command synchronously, I
can read all the messages from ADO, but not until the procedure is done.
If I run the command asynchronously, the messages never appear in the
Errors collection.
Has anyone come up with a work-around for this?
Thanks,
- Steve J
By the way, I also tried DAO's ODBC-Direct for asynchronous execution, but
it doesn't seem to return warning messages in either synchronous or
asynchronous mode, though it does return a non-sense type conversion error
at some points.