Access ODBC Database Link Problems With XP Professional

J

Jeff Gregory

In the past I had a Windows ME computer and linked via
ODBC connection to an AS400 file with no problems. Since
I have a new computer with windows XP, I can still link
to the AS400 and many files work, but one file keeps
getting garbage. I get a few lines of good data, but the
other lines have all "#Deleted #Deleted #Deleted" in
the fields.

I am not sure if this is a problem with the XP
environment, or if when I reinstalled Access I did not
set up my ODBC connections properly.

Any help in getting to the root of the problem would be
appreciated.

Thanks,
Jeff Gregory
 
R

Rick Brandt

Jeff Gregory said:
In the past I had a Windows ME computer and linked via
ODBC connection to an AS400 file with no problems. Since
I have a new computer with windows XP, I can still link
to the AS400 and many files work, but one file keeps
getting garbage. I get a few lines of good data, but the
other lines have all "#Deleted #Deleted #Deleted" in
the fields.

I am not sure if this is a problem with the XP
environment, or if when I reinstalled Access I did not
set up my ODBC connections properly.

Any help in getting to the root of the problem would be
appreciated.

This can be a few things. Making sure you have the latest ODBC drivers is
always a good start. When you link to AS400 tables that have no Primary Key you
are asked to specify columns that Access can use to build a unique index with
for updates. In some cases I have seen where selecting the wrong columns caused
this. Also if any of the fields making up the unique index are of a DataType
that Access has no direct matching type can cause this.

If you don't need updatability, a Passthrough query will usually not have this
problem.
 
J

Jeff Gregory

Thanks for the reply. Unfortunately none of the
solutions for the ODBC Table Update worked. The ODBC
connection is actually an IBM solution and I could not
find an update. I did get a Microsoft update, but that
did not help. The database came from my old computer and
worked on my old computer (with ME) so theoretically it
should work the same with the XP environment.

The passthrough query was a great solution and is a nice
work around. I was not aware that existed.

Thanks again.
Jeff Gregory
 

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