Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting rid of login dialog when connecting to sql serve
Message
 
À
06/11/1998 07:46:06
Jeroen Naus
Harte-Hanks Europe
Hasselt, Belgique
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00155154
Message ID:
00155218
Vues:
25
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform