Subject Re: [IBO] Transaction has no connections?
Author Steve Harp
--- In IBObjects@yahoogroups.com, Helen Borrie <helebor@t...> wrote:
> At 03:20 PM 23/08/2005 +0000, you wrote:
> >Hi All,
> >
> >I'm getting an error "Transaction has no connections" when loading my
> >application into the Delphi 7 IDE. Can anyone tell me what causes
> >this?
>
> The connection isn't connecting? Are you calling
MyIB_Connection.Connect
> at the right time?
>
> >My TIB_Connection.IB_Connection property has a valid
> >TIB_Connection object defined.
>
> Do you mean your TIB_Transaction.IB_Connection property?
>
> >I'm not seeing any errors while
> >running the application; just when loading into the IDE.
>
> After seeing the exception, does the application continue to load
nornally
> once you press F9 or click the green ">" button in the toolbar?
>

Yes. the TIB_Transaction.IB_Connection property is set correctly; not
the TIB_Connection.IB_Connection. Sorry, a brain fart.

I had previously added a IB_FirebirdSession unit to my project to
specify the fbclient.dll and had added this to the uses statement in
my data module. This apparently made something attempt a connection
before the data module was fully created and properties set. I've
removed this from my uses now and only have it in my DPR.

How can I tell what client library is being used? gds32.dll or
fbclient.dll?

Thanks,
Steve