Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trapping String connection error
Message
From
05/10/2009 10:36:09
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01427734
Message ID:
01427735
Views:
103
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform