Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trusted connection
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00704482
Message ID:
00704493
Views:
21
Richard,
x= SQLSTRINGCONNECT("Driver={SQL Server};Server=yourserver;UID=yourid;PWD=;DATABASE=yourDB;Trusted_Connection=Yes")
the key part is "trusted connection=Yes". You can also ommitt UID and PWD, when you use a trusted connection. BTW: If you create a file DSN with the ODBC Administrator, you can have a look at the available options of the ODBC driver. All (or at least most of them) are stored in the file.

Armin

>i am having difficulty getting connected to my SQL:server from FoxPro6.0
>NOT A TRUSTED Connection
>
>Can anyone help me with the connection string, I am able to connect with a DSN

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Reply
Map
View

Click here to load this message in the networking platform