Subject Re: [IBO] How to reconnect to DB II
Author Andreas Bednarek
> >
> > if ERRCODE = 335544721 then begin
> > Disconnect;
> > Connect;
> > end;
> >
> Do NOT make any calls in the OnError event like Disconnect or Connect.
> That is the wrong place to react to an error.
> You should only set flags and most of the time raise an exception or allow
> the default exception to be raised.
> Jason Wharton

Thanks for the tip Jason, good to know that. Do I have to track another
ERRCODE values than the mentioned 335544721, too? I mean for the case that
connection was lost and I should try to reconnect?