Subject Re: [IBO] Can't Capture OnError
Author Jason Wharton
You should use an IB_SessionProps component perhaps.
I don't know your app but if you use an IB_Session component then you should
have all the data access components on the same module as it.

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com

-- We may not have it all together --
-- But together we have it all --


----- Original Message -----
From: "Infocare Developer" <dev@...>
To: <IBObjects@yahoogroups.com>
Sent: Monday, November 11, 2002 4:26 AM
Subject: Re: [IBO] Can't Capture OnError


> no well actually on the DataModule there is an IB_Connection which OnError
> is assigned, this did not fire, so what i did is I placed an IB_session on
> the DM and Assigned It's OnError then I linked the IB_Connection's Session
> to the session on the dm,
>
> But I notice that my IBOQuery's IB_Session is not the same one as the
> Connection's session, and I cannot change IBOQuery.IB_Session it is a read
> only property
>
> ----- Original Message -----
> From: "Helen Borrie" <helebor@...>
> To: <IBObjects@yahoogroups.com>
> Sent: Monday, November 11, 2002 12:50 PM
> Subject: Re: [IBO] Can't Capture OnError
>
>
> > At 01:11 PM 11-11-02 +0200, you wrote:
> > >It's probably something stupid, but i can't seem to capture the OnError
> > >event on the TIB_Connection, it never fires on error, if i look at the
> > >exception it occurs in IB_Session line 1083 DoHandleError but doHandle
> error
> > >checks if assigned(FOnError)
> > >
> > >but FonError is not assigned.
> >
> > this indicates you don't have an error handler for it.
> >
> > Helen