Transaction not assigned

2003-10-17 03:29:52 AM
I frequently get this "transaction not assigned" error when doing updates,
although a transaction has in fact been assigned.
I even did something like:
q.Close ;
q.Transaction := ibtSomeTransaction ;
q.Open ; // <- the error occurs here
And I still get this error sometimes when running the code normally, but I
never get it when I step through the code in debug mode. Could there be a
race condition somewhere ?