Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sqlconnect
Message
 
 
To
07/10/2003 17:09:16
Joel Hokanson
Services Integration Group
Bellaire, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00835961
Message ID:
00835967
Views:
13
>When I do the following, it still asks for my SQL password when it tries to open the remote view SQL_arfiles that is defined in DT.dbc.
>
>I do not want the user of the application to have to type in the passwod.
>
>
>=SQLCONNECT("SQL_Server", 'joel', 'd345')
>OPEN DATABASE dt.dbc SHARED
>USE sql_arfiles

What version of VFP are you using? For 7 and 8, you can use CONNSTRING with the USE command. See VFP Help on the USE command. In 8, CONNSTRING was modified to accept a connection handle as the CONNSTRING parameter.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform