Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening remote views without remote dialog box
Message
From
18/03/2002 13:08:12
Rex Mahel
Realm Software, Llc
Ohio, United States
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00634034
Message ID:
00634159
Views:
19
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform