Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can i pass parameter in the connection string
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How can i pass parameter in the connection string
Miscellaneous
Thread ID:
00793427
Message ID:
00793427
Views:
61
Can i pass parameter in the connection string of a CursorAdapter
If i try to do This
tUID = 'Sebastien'
tPWD='datadis'
tWSID='SEBASTIEN'

lconn = SQLSTRINGCONNECT("DRIVER=SQL Server;SERVER=SQLSERVER;UID=&tUID;PWD=&tPWD;;WSID=&tWSID;DATABASE=RAG")
Lconn = 2 So it Work

But if i put the same string in the Connection string of the CursorAdapter Builder i got this error
Connectivity error :[Microsoft][OBDC sql driver]Login failed for user '&tUID'

Thank's
Next
Reply
Map
View

Click here to load this message in the networking platform