Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"#Name?" in all the fields with a linked table in Access from SQL Server

Status
Not open for further replies.

malibu65k

Programmer
Joined
Sep 27, 2004
Messages
131
Location
US
I'm linked to an SQL Server using MS Access. All the tables are linked to the same db and I can open and view the data in all the tables except one. All the fields for all the records show #NAME?. I first get an ODBC - Call failed! Then the table opens and I get all the #NAME? in the records. I re-link several times and I still get the same thing.

Any ideas?

Thanks!

 
Does the table have a primary key defined that Access has identified?
What do you see if you create a pass-through query to the same table?

Duane
Hook'D on Access
MS Access MVP
 
It has a primary key set to Autonumber. When I try to select from the table in SQL Server Management environment I get and error...

Msg 916, Level 14, State 1, Line2
Server user '%s' is not a valid user in database '%s'

But I am a valid user, the table is in the same database as the others and the others I have no problem accessing. Why would I be able to access all of them except one?

Thanks!
 
So, this is clearly a SQL Server problem, not an access one.
You may have better answers in one of the SQL Server fora here.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top