Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SqlStringConnect()
Message
 
 
To
06/03/2001 12:07:29
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00482290
Message ID:
00482299
Views:
9
>In my application, I use the command SqlStringConnect() to access
>a SQL Server database. However, when the connection failed, I get
>a window to enter UserId and Password. Is it possible to NOT display
>that window?

Set the DispLogin property for the all subseqyent SQL connections to 3 (Never show login).

=sqlsetprop(0,'DispLogin',3)

If you want, you can get the current value useing sqlgetprop() and then reset it when you are done.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform