Sconnect = "UID=" + SQL_uid + ";PWD=" + SQL_pwd + ";Driver={SQL Server};" +
"Server=NYLHKNT03;Database=" + DBName
Set En = rdoEnvironments(0)
Set Cn = En.OpenConnection(dsName:="", Prompt:=rdDriverNoPrompt,
Connect:=Sconnect)
The ODBC driver version is 2.65.0252
Every thing is OK on development machine. But install to user's PC the error
message occurred.
Error message
Run-time error '40002':
08001: [Microsoft][ODBC SQL Server Driver]Unable to connect to data source
Can anyone help???
Thanks,
Dave
(Please respond to the newsgroup.)
Nicholas <wn...@asiaonline.net> wrote in message
news:7nkb3g$dp...@news.asiaonline.net...
Jim Dault
Nicholas wrote in message <7nkb3g$dp...@news.asiaonline.net>...
Chris