Subject Re: [IBO] catching excpetion in TIB_Connection.Connect
Author Lester Caine
> > OnLoginFailure ?
> No, as this is only called once ALL login attempts have been made.
> I need to be able to catch the exception on the first failure, to
> determine if it is from not finding the gdb file.
> > The Login window has to handle these things itself, but I am
> > not sure if you can recover the newly entered database name
> > - I would expect so but have not actually done so myself <g>
> > I just raise my own message.
> Where can I place the code to allow the login window to handle this
> itself? As far as I understand it, the OnLogin event is merely there
> to supply your own login window, and then the app passes the
> user/password/role on.

Hopefully Helen or Jason will pop-up on that - I only work
with existing databases so what I get does me.

You could always do your own login window complete and not
use the generic one.

Lester Caine
L.S.Caine Electronic Services