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
 
Top