Subject | Re: [IBO] Volume Data Adding |
---|---|
Author | Paul Little |
Post date | 2001-06-11T17:06:54Z |
Helen Borrie wrote:
directly after my starttransaction i.e.
IB_Transaction1.StartTransaction;
ib_dsql1.Prepare; <----- fails here!
ib_dsql2.Prepare;
.
.
etc...
like a receiving line at a Royal garden party without the flowery hats.
Haha, how did you know I'd appreciate that analogy ;-)
P
>OK, good this is what I thought. But, I get the error on the line
> Well, the IB_Transaction is just a container for all the stuff that pertains to a transaction. Each time you hard-commit a transaction, the actual handle that was associated with it is gone. Next time you start it, it's a whole new transaction.
>
> So you only **need** enough transaction **components** to have all the concurrent tasks covered. If you are running these dsqls one after another, just attach them all to the same ib_transaction,
directly after my starttransaction i.e.
IB_Transaction1.StartTransaction;
ib_dsql1.Prepare; <----- fails here!
ib_dsql2.Prepare;
.
.
etc...
like a receiving line at a Royal garden party without the flowery hats.
Haha, how did you know I'd appreciate that analogy ;-)
P