Hi,
I'm having problems with attaching two tables stored in an SQL Server
2000 to an Access 97 database. It worked well for all other tables
except those two.
This is what I did: Choose the data source from the ODBC dialog, choose
the database on SQL Server login, select all tables in the SQL Server
database. All tables were attached except the two, it says something[1]
like "database module can't find 'dbo_<tablename>'".
The name is not exceptionally long, a table with a 33-char name was
attached, the name of first table that was not attached was 26 chars.
I also tried it in code via CreateTableDef using SourceTableNames
"<database>.dbo.<table>", "dbo.<table>" and "<table>". All thre gave the
same error message as above, runtime error 3011 for the record.
Funny thing is that using MS Query or a pass-through query works.
(SELECT * FROM <database>.dbo.<table>).
I did check permissions on the tables in SQL Server.
I there something I missed or a workaround?
Some figures:
Access 97, SR-2 (German),
Microsoft SQL Server 2000 - 8.00.194 (Intel X86)
ODBC driver SQLSRV32.DLL version 2000.81.9042.00
TIA,
Chris
[1] Sorry if I didn't quite get the right words, I'm using german
versions here.