Linked SQL Table - Can't Read

D

DavidES

I'm using Access2003.
I have created a DSN for my SQL Server 2008 table.
I have added the table as a linked table but when I query the table, all I
see is #NAME? in each row and field.

If I write a Pass Through Query using the same DSN and the same criteria, it
works fine.

Here's my query:
SELECT dbo_ITEMS.ORDERNO, dbo_ITEMS.ITEM_ID, dbo_ITEMS.ITEM
FROM dbo_ITEMS
WHERE (((dbo_ITEMS.ORDERNO)=142011));

Any ideas what is wrong?
 
S

Sylvain Lafontaine

Do you have a primary key (or an unique index) defined for this table and if
so, is its type one of the incompatible types with Access such as BIGINT?

--
Sylvain Lafontaine, ing.
MVP - Windows Live Platform
Email: sylvain2009 sylvainlafontaine com (fill the blanks, no spam please)
Independent consultant and remote programming for Access and SQL-Server
(French)
 
D

DavidES

The primary key is a number - decimal field - 12 digits. I don't see any
reference to BIGINT.
 

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