Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Flexible connection string
Message
From
29/05/2007 13:27:49
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01228078
Message ID:
01229111
Views:
15
>>I have the following code to create a SQL Server connection.
>>
>>text to lcConnectionString textmerge noshow pretext 15
>>	DRIVER=SQL Server;SERVER=PAG-SQLSERVER;
>>	UID=DonF;APP=Microsoft Visual FoxPro;
>>	WSID=TPD284;DATABASE=TRPSurvey;Trusted_Connection=Yes
>>endtext
>>
>>
>>The DonF and the TPD284 are specific to me and my PC. How can I query my user's PC to obtain these values for different users and different PCs?
>
>Remove them from the connection string. The ODBC driver should fill them for you.

That works from my PC but not from my user's PC. Perhaps the SQL-Server Administrator needs to loosen the security settings?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform