Subject Re: [IBO] "Transaction has already been started"
Author Julian Maisano
----- Original Message -----
From: "Helen Borrie" <helebor@...>
To: <IBObjects@yahoogroups.com>
Sent: Sunday, August 24, 2003 1:37 AM
Subject: Re: [IBO] "Transaction has already been started"


>with DBO_DataModule.IB_Transaction1 do
>begin
> if not TransactionIsActive then
> StartTransaction
> else
> {here you have to deal with the unresolved transaction}.

I'll test it. It seems like i'm looking for


>But there is more trouble here. This looks really weird:

>FSQLCommand.InsertSQL.Text := sSQL;

> try

> FSQLCommand.ExecSQL(ukInsert);
> DBO_DataModule.IB_Transaction1.Commit;

>What kind of object is FSQLCommand? What are you trying to do here?

It is a TIBOUpdateSQL, and i'm trying to insert a record through it.

Thanks Helen

Julian Maisano