>nHandle = SQLCONNECT("MyConnection","MyUserID","MyPassword")
>
>fails with the "Feature is not available"
>
>nHandle = SQLCONNECT("MyConnection")
>
>works OK
Hi Fred,
I guess, "MyConnection" is a named connection that was created using connection string. SQLCONNECT doesn't provide ability to override user name and password for connections like that, but it should be possible to do for connection that is based on ODBC Data Source Name.
If I guessed wrong, please give more information about how "MyConnection" is configured.
Thanks,
Aleksey.
Previous
Next
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