>I am creating a Global Connection Handler on the begining of my APP. Everything works fine if no error occurs, I mean, when I provide the right credentials and information.
>
>But, when something is wrong, let's say The password, or user. Instead of only return a err value, it displays a window asking for the right credentials.
>
>Ho can avoid this??
>
>TRy Catch??
Before connecting, do the following
#DEFINE DB_PROMPTNEVER 3
=SqlSetProp(0, 'DispLogin', DB_PROMPTNEVER)
Gregory