Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening remote views without remote dialog box
Message
De
18/03/2002 13:08:12
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00634034
Message ID:
00634159
Vues:
18
Thanks Hector,

This is exactly what I was looking for.

Rex

>>All,
>>
>>I have remote views that I want to open without getting the login dialog. Is there some setting I can use to give the remote connection the username and password so I can open these views programmatically?
>>
>>TIA
>>
>>Rex
>You can embed the user id and password in the connection string. Create a connection string like this:
>
>
>OPEN DATABASE YourDBC
>CREATE CONNECTION MyConn CONNSTRING "SERVER=(local);DRIVER=sql server; UID=sa; PWD=; DATABASE=northwind; "
>
>
>Then, create a remote view to use this connection. VFP should not prompt you for user name and password since this info is stored in the connection.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform