G
Guest
The following code runs fine on my old computer (a Dell with XP SP2 on a
Windows SBS 2003 domain):
DoCmd.TransferDatabase acLink, "ODBC", "ODBC;" & _
strConnectionString, acTable, "dbo." & TableName, "dbo_" &
TableName
It links an existing table in a SQL Server database to an mdb.
When I run the same code on a new PC (also a Dell with XP SP2 on the same
domain) I get an error: "can't find the object dbo_TableName". This error
occurs booted into safe mode so it shouldn't be interference from another
application. The mdb references (Tools\References on the VBA menu) are the
same versions on both PCs. I've reinstalled Office 2003 and have been to the
Office Update site. Nothing works.
What am I missing here? Any ideas?
Thanks in advance.
Jay
Windows SBS 2003 domain):
DoCmd.TransferDatabase acLink, "ODBC", "ODBC;" & _
strConnectionString, acTable, "dbo." & TableName, "dbo_" &
TableName
It links an existing table in a SQL Server database to an mdb.
When I run the same code on a new PC (also a Dell with XP SP2 on the same
domain) I get an error: "can't find the object dbo_TableName". This error
occurs booted into safe mode so it shouldn't be interference from another
application. The mdb references (Tools\References on the VBA menu) are the
same versions on both PCs. I've reinstalled Office 2003 and have been to the
Office Update site. Nothing works.
What am I missing here? Any ideas?
Thanks in advance.
Jay