Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting rid of login dialog when connecting to sql serve
Message
 
 
To
06/11/1998 07:46:06
Jeroen Naus
Harte-Hanks Europe
Hasselt, Belgium
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00155154
Message ID:
00155218
Views:
26
I believe if you pass in a user id and a password in your connection string - the login dialog will not appear. Here is a sample connection string:

"DSN=Pubs;Description=Sample Publisher Database;SERVER=JVP;UID=sa;PWD=;APP=Microsoft® Visual FoxPro®;WSID=JVP;DATABASE=pubs"

>Hi John,
>
>I want to know the parameter to use in sqlstrconnect() for disabling the login dialog. This dialog allows you to change the database, etc ... . And I don't want my users to have that ability. I know I can use a sqlsetprop("lnConnection","Displogin",3) to prevent it from displaying, but I can't do that until I actualy have my connection, which is too late (catch 22).
>
>I am connecting to a Sql Server database.
>
>Thanks,
>Jeroen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform