Subject Re: expecting explicit transaction start
Author Ed Dressel
> My reasoning is this.. I don't know if you can assign another query
> to an already started transaction.

#1) I have a hard time believing that that is true. I am quite sure
that you can add queies as needed to a transaction else my whole
application would have to be rethought.

#2) same exception with this code:

for I := 0 to ComponentCount - 1 do // Iterate
if (Components[I] is TIB_Query) then
begin
lIBQ := TIB_Query(Components[I]);
lIBQ.IB_Transaction := ibSourceTrans;
end;
ibSourceTrans.StartTransaction;
for I := 0 to ComponentCount - 1 do // Iterate
if (Components[I] is TIB_Query) then
begin
lIBQ := TIB_Query(Components[I]);
lIBQ.Open; //e<---- exception here

Thoughts,
Ed Dressel