Subject Re: [IBO] Controlling Login procedure under IBO and Delphi
Author Shane van de Vorstenbosch
I don't have the code on this machine, but basically I:
- write a procedure on the connection's OnError (?) to trap the login error.
I can't remember the value you want to trap but just run it once and you
will get the value. Once you trap the value, set the exception flag to false
to stop the normal exception from being displayed.s
- use the OnFailedLogin to then display the login box.

If you have any problems then I can send you the exact code when I am on my
other machine.

HTH
Shane

> Hello,
>
> i have some trouble with my login procedure. I want to do he
> following:
>
> 1. i get out of the registry Database,Username and passwort property -
> working
> 2. i try to connect to the database without the login prompt -working
> // Here my problem
> if the connection failed then i want to display the standard login
> dialog
> else if the connection is ok then i want to go further in my
> application
> Has anyone an Idea how i can realize this?
>
>
>
>
>
>
>
>
>
>