473,396 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

#NAME? displaying in linked tables (Access 2000) after DB2 migration.

smd
Hello and thanks for taking the time to read this. I've looked all
over the web and newsgroups and can't find a solution to my problem.
I've posted this question to the Access 2000 group as well - sorry for
cross posting.

Back ground:
User at remote site has Access 2000 running on XP (don't know SP of
either). Linked tables are DB2 v8 running on AIX. All of the linked
tables are in the same database and schema.

Problem:
Some linked tables, when viewed in datasheet form from within Access,
display "#NAME?"; others do not. This problem started right afer the
database was migrated from 390 to AIX.

Things I've tried:
All obvious connectivity related trouble shooting (the server and DB
can be seen from IBM DB2 Configuration assistant and Putty, the DSN is
registered ODBC, etc.) Results: nothing out of the ordinary.

Reinstalled Msowfc.dll as suggested in KB article(not sure I spelled it

correctly here, but you get the picture) Results: no effect

Checked connection string using this command typed in the Immediate
Window: ?dbengine(0)(0).TableDefs("CAP_UFPWK_DPTMDSC_SLSST K").Connect
Results: Thought I had something here when one of the connection
strings was returned with the user's current ID, but an old password.
Had the user delete the linked table in Access (highlighting and
pressing delete key) and then set up the linked table again. Now all
connection strings are the same
(ODBC;DSN=LFPPROD;MODE=SHARE;DBALIAS=LFPPROD;). Unfortunately, no
effect.

I'm stuck! Anyone have similar problems? Anyone have a suggestion on
how to fix? Thanks in advance for your help!

Nov 13 '05 #1
7 3398
On 7 Oct 2005 08:23:23 -0700, "smd" <sd******@swbell.net> wrote:
Hello and thanks for taking the time to read this. I've looked all
over the web and newsgroups and can't find a solution to my problem.
I've posted this question to the Access 2000 group as well - sorry for
cross posting.

Back ground:
User at remote site has Access 2000 running on XP (don't know SP of
either). Linked tables are DB2 v8 running on AIX. All of the linked
tables are in the same database and schema.

Problem:
Some linked tables, when viewed in datasheet form from within Access,
display "#NAME?"; others do not. This problem started right afer the
database was migrated from 390 to AIX.

Things I've tried:
All obvious connectivity related trouble shooting (the server and DB
can be seen from IBM DB2 Configuration assistant and Putty, the DSN is
registered ODBC, etc.) Results: nothing out of the ordinary.

Reinstalled Msowfc.dll as suggested in KB article(not sure I spelled it

correctly here, but you get the picture) Results: no effect

Checked connection string using this command typed in the Immediate
Window: ?dbengine(0)(0).TableDefs("CAP_UFPWK_DPTMDSC_SLSST K").Connect
Results: Thought I had something here when one of the connection
strings was returned with the user's current ID, but an old password.
Had the user delete the linked table in Access (highlighting and
pressing delete key) and then set up the linked table again. Now all
connection strings are the same
(ODBC;DSN=LFPPROD;MODE=SHARE;DBALIAS=LFPPROD;). Unfortunately, no
effect.

I'm stuck! Anyone have similar problems? Anyone have a suggestion on
how to fix? Thanks in advance for your help!


Hi
have you tried recreating the offending tables on the db2 side? In principle you can do this
from Access by exporting the table but I've never had much luck with that and
I usually run create table and index queries from Access to make the structure. (I find
this easier than using the IBM tools because I am not familiar with them)

Are there indexes on these tables?

I read somewhere that the coming of 64 bit windows is leading to changes in the length
of some SQL types in ODBC which I expect will lead to problems in the future if different
versions of the software are used on the two systems.
Nov 13 '05 #2
smd
Hi, thanks for your reply! I have not rebuilt the tables because there
are no other problems accessing the DB2 tables using linked Access
tables anywhere else in the enterprise - except for this user and his
team (copied the MDB and distributed it amongst themselves).

Yes, there are indexes on the tables.

Does Access keep an entry somewhere (registry) that would hold a
connection string?

If not, is it possible that upon deletion and recreation of a linked
table, the DB object is not being refreshed (does not recognize that
the link has been deleted and recreated) so that when Access is shut
down, the old link is saved? Do you think I might need to explicitly
(from the Immediate window) referesh the DB object after deletion of
the linked table and repeat after recreation?

Nov 13 '05 #3

"smd" <sd******@swbell.net> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
Hi, thanks for your reply! I have not rebuilt the tables because there
are no other problems accessing the DB2 tables using linked Access
tables anywhere else in the enterprise - except for this user and his
team (copied the MDB and distributed it amongst themselves).

Yes, there are indexes on the tables.

Does Access keep an entry somewhere (registry) that would hold a
connection string?

If not, is it possible that upon deletion and recreation of a linked
table, the DB object is not being refreshed (does not recognize that
the link has been deleted and recreated) so that when Access is shut
down, the old link is saved? Do you think I might need to explicitly
(from the Immediate window) referesh the DB object after deletion of
the linked table and repeat after recreation?

When I read the title, I was going to suggest to delete and re-build the
Access liked tables, but read that you hve done this already. Could you try
getting them to create a brand new blank database and just creating the
linkd tables? If that works, possibly rebuild the front end.
Nov 13 '05 #4
smd
Yea figured it out! Apparently deleting and recreating the linked
tables during the same session from the main DB|Tables window does not
refresh Access's underly DB object. But once I had the user install
the Linked Table Manager and select all the recently deleted and
recreated linked tables, the data magically appeared upon update. You
would have thought that something this easy would appear in a KB
somewhere!
Thanks again for the help!

Nov 13 '05 #5
On 7 Oct 2005 12:01:02 -0700, "smd" <sd******@swbell.net> wrote:
Hi, thanks for your reply! I have not rebuilt the tables because there
are no other problems accessing the DB2 tables using linked Access
tables anywhere else in the enterprise - except for this user and his
team (copied the MDB and distributed it amongst themselves).

Yes, there are indexes on the tables.

Does Access keep an entry somewhere (registry) that would hold a
connection string?
Not so far as I am awareIf not, is it possible that upon deletion and recreation of a linked
table, the DB object is not being refreshed (does not recognize that
the link has been deleted and recreated) so that when Access is shut
down, the old link is saved? Do you think I might need to explicitly
(from the Immediate window) referesh the DB object after deletion of
the linked table and repeat after recreation?

Usually, closing and re-opening the database would force any refresh.
Does every field in the table come out as #NAME? This suggests a type mismatch.
Are fields of particular types affected?

Try to open a recordset from the table in code and copy the fields into
variables of the expected type see what error you get?

Though this shouldn't affect anything,are any of the fields renamed using the
caption property?
Nov 13 '05 #6
On 7 Oct 2005 13:29:39 -0700, "smd" <sd******@swbell.net> wrote:
Yea figured it out! Apparently deleting and recreating the linked
tables during the same session from the main DB|Tables window does not
refresh Access's underly DB object. But once I had the user install
the Linked Table Manager and select all the recently deleted and
recreated linked tables, the data magically appeared upon update. You
would have thought that something this easy would appear in a KB
somewhere!
Thanks again for the help!


Glad this works, though I am surprised as I have often just changed the
connection strings with FindAndReplace in cases where the linked table
manager won't work and provided I close the database (and maybe compact it)
it has worked. Admtitddly this was with local tables in Access 97 days.

Nov 13 '05 #7
smd
Thanks again for your help!

Would you believe this has been an open trouble ticket since January
(it came across my desk Wednesday afternoon - since it's *obviously* a
problem with the way my predecessor defined the DB2 table)!

Nov 13 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
0
by: Bon | last post by:
Hello All I got "Tables are skipped or export failed" error when I used upsizing wizard on migrating MS Access 2000 to MS SQL Server 2000. I am changing my application backend database from MS...
6
by: Max | last post by:
Hi, I have SqlServer 2000 as back end and Access 2000 as front-end. All tables from Sqlserver are linked to Access 2000. I am having write conflict problem with one of my form which is bound to...
2
by: Bruce | last post by:
Greetings! After finally figuring out that the Linked Table manager is no longer an add-in in Access 2003 I now discover that it does not display any of my linked tables in the 'select linked...
4
by: anand | last post by:
Hi, I have an Access 2000 database, which contains some native tables, and some linked tables which belong to an ORACLE database, through ODBC. Using VB.NET, I am trying to fetch some data by...
7
by: Joe | last post by:
I am using Access 2003 and are linking to an Oracle 9i ODBC datasource (using Oracle ODBC drivers). After linking the tables in Access, I inspect the data contained in the linked tables. For...
2
by: Florifulgurator | last post by:
Hello, trying to clean up other´s mess... I´ve replaced some tables (previously linked to another Access DB) with renamed tables linked to a PostgeSQL DB (removed spaces and Ümlauts in names,...
2
by: Jill Elaine | last post by:
I am building an Access 2002 frontend with linked tables to an encrypted Paradox 7 database. When I first create these linked tables, I'm asked for the password to the encrypted Paradox database,...
1
by: gwsmith | last post by:
I have an Access system that uses linked tables to store the data separately from the system design & code. I am trying to implement a text box to display the location of the database that the system...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.