Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connection String for WINDOWS Login?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00509858
Message ID:
00509873
Views:
19
This message has been marked as the solution to the initial question of the thread.
>I have the connection string to pass in with a database login. What needs to be changed to use a trusted login ?
>
>This has worked in the past:
>lcConStr = "DRIVER=SQL Server;SERVER=A23339\SCR_TEST;UID=sail;PWD='big daddy'
>lhX = SQLStringConnect( lcConStr )
>
>I want this to work for all users on our network. We are using SQL 2000.
>
>TIA
>
>__Stephen

Stephen,
Instead of passing PWD and UID, use TrustedConnection=Yes.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform