Subject | Re: expecting explicit transaction start |
---|---|
Author | Ed Dressel |
Post date | 2003-11-21T18:28:30Z |
> My reasoning is this.. I don't know if you can assign another query#1) I have a hard time believing that that is true. I am quite sure
> to an already started transaction.
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