ODBC Connection

M

Mirna

Hi,

I'm connecting from ACCESS to SQL(I have linked tables)
using ODBC:

I'm using this string for the connection:

strAttributes = "SERVER=000.000.000.000" & Chr(0)
strAttributes = strAttributes & "DESCRIPTION=Temp DSN" &
Chr(0)
strAttributes = strAttributes & "DSN=DSN_TEMP" & Chr(0)
strAttributes = strAttributes & "DATABASE=ABDC" & Chr(0)
strAttributes = strAttributes & "UID=bduser" & Chr(0)
strAttributes = strAttributes & "PWD=toto"

but it seem not acceptind the UID and PWD and not saving
the password, I tried UserID, Password and the same
problem

Any Ideas please
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top