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! 7 3256
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.
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?
"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.
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!
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?
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.
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)! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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,...
|
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,...
|
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...
|
by: Kemmylinns12 |
last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
|
by: antdb |
last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine
In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
|
by: Arjunsri |
last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
|
by: Carina712 |
last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
|
by: Rahul1995seven |
last post by:
Introduction:
In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
|
by: Ricardo de Mila |
last post by:
Dear people, good afternoon...
I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control.
Than I need to discover what...
|
by: Johno34 |
last post by:
I have this click event on my form. It speaks to a Datasheet Subform
Private Sub Command260_Click()
Dim r As DAO.Recordset
Set r = Form_frmABCD.Form.RecordsetClone
r.MoveFirst
Do
If...
|
by: ezappsrUS |
last post by:
Hi,
I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
|
by: jack2019x |
last post by:
hello, Is there code or static lib for hook swapchain present?
I wanna hook dxgi swapchain present for dx11 and dx9.
| |