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:
00509912
Views:
19
>>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.



Thanks! that was it.

__Stephen
Previous
Reply
Map
View

Click here to load this message in the networking platform