PRB: ODBCDirect Query Causes Error 3667
Article ID: 177516
Article Last Modified on 11/3/2003
APPLIES TO
- Microsoft Visual Basic 5.0 Learning Edition
- Microsoft Visual Basic 6.0 Learning Edition
- Microsoft Visual Basic 5.0 Professional Edition
- Microsoft Visual Basic 6.0 Professional Edition
- Microsoft Visual Basic 5.0 Enterprise Edition
- Microsoft Visual Basic 6.0 Enterprise Edition
This article was previously published under Q177516
SYMPTOMS
Running a query or manipulating a recordset in an
ODBCDirect workspace causes the following error to occur:
"A different operation is preventing this operation from being
executed, runtime error 3667."
CAUSE
This error can be caused by trying to run more than one
asynchronous operation at a time on the same connection object or performing
other Data Access Object (DAO) operations (such as recordset manipulation) on
the same connection object while an asynchronous query runs.
RESOLUTION
To run multiple asynchronous queries on the same connection
object, you must first test the value of the StillExecuting property to
determine whether you can start the next asynchronous operation. To run
multiple asynchronous queries in parallel, you must create separate connection
objects and run each asynchronous query on its own connection object.
STATUS
This behavior is by design.
REFERENCES
For more information query on stillexecuting in the help
file or in "Books On Line."
Additional query words: kbVBp500 kbVBp600 kbdse kbDSupport kbVBp
Keywords: kbprb KB177516