General information
Category:
Coding, syntax & commands
What about this:
lconn = SQLSTRINGCONNECT("DRIVER=SQL Server;SERVER=SQLSERVER;UID="+tUID+";PWD="+tPWD+";WSID=&tWSID;DATABASE=RAG")
>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only