473,591 Members | 2,842 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Changing ODBC Data Source in MS Access 2000

I am a UNIX person (not much experience with MS Access) who during a
recent upgrade on an IBM RS/6000 server had to convert our system due
to an upgrade to a new software revision.

The old software was ISAM-based and relied on a product called
Transoft U/SQL to create "simulated" ODBC connections to the data for
querying and reporting. The new software is using an Informix RDBMS,
and so the ODBC driver must be flipped to use the Informix Client SDK
product.

The problem I am facing is that our company has several reports that
we created using queries and linked tables using MS Access 2000. I
think that I should be able to swap data sources by going into the
Linked Table Manager, selecting the table with the old data source and
then choosing a new data source, and it should allow me to select the
equivalent table in the new data source. But it does not seem to like
the way I am doing it. I get an error: For example: the
“root_products” table could not be found.

I think this may because not only did the data source name change, but
all the tables in the new data source now have a suffix on them
(example: "products" is now "products_tbl") . However, all of the
fields within those tables remained the same.

So my question is this:
Is there any way to look at the data source and table names in an
existing MDB and update their names/links in this type of situation,
or am I S-O-L and have to recode the reports all over again? Does it
store the names/links in VBA code somewhere in the background that
would let me update it?
Sep 24 '08 #1
1 5520
On Sep 24, 2:46*pm, "steven_nos pam at Yahoo! Canada"
<steven_nos...@ yahoo.cawrote:
I am a UNIX person (not much experience with MS Access) who during a
recent upgrade on an IBM RS/6000 server had to convert our system due
to an upgrade to a new software revision.

The old software was ISAM-based and relied on a product called
Transoft U/SQL to create "simulated" ODBC connections to the data for
querying and reporting. The new software is using an Informix RDBMS,
and so the ODBC driver must be flipped to use the Informix Client SDK
product.

The problem I am facing is that our company has several reports that
we created using queries and linked tables using MS Access 2000. I
think that I should be able to swap data sources by going into the
Linked Table Manager, selecting the table with the old data source and
then choosing a new data source, and it should allow me to select the
equivalent table in the new data source. But it does not seem to like
the way I am doing it. I get an error: For example: the
“root_products” table could not be found.

I think this may because not only did the data source name change, but
all the tables in the new data source now have a suffix on them
(example: "products" is now "products_tbl") . However, all of the
fields within those tables remained the same.

So my question is this:
Is there any way to look at the data source and table names in an
existing MDB and update their names/links in this type of situation,
or am I S-O-L and have to recode the reports all over again? Does it
store the names/links in VBA code somewhere in the background that
would let me update it?
The table connect strings are stored in the system file MSysObjects,
in the Connect and DataBase columns. You can see MSysObjects if you
tick Tools->Options->View Tab->System Objects. The table is write
protected in this view, but writing an update query or using a
recordset to change the values is possible.

Sep 24 '08 #2

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

Similar topics

3
1828
by: Joe | last post by:
Python 2.4 Windows XP SP2 MS Access 2000 mx.ODBC 2.0.7 Problem data truncation occuring (here's the actual error message): mxODBC.Warning: ('01004', 5, ' String data, right truncated on column number 3 (Expr1002)', 3326)
3
3906
by: Richard Muller | last post by:
Hi All, I've got the ASP script shown below that complains as follows: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) Data source name not found and no default driver specified /ShowEvents.asp, line 24 Line 24 of the script is the line:
11
3745
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows 2003 Server or ADO or ODBC issue, I am posting this on all of the three newsgroups. That's the setup: Windows 2003 Server with IIS and ASP.NET actiavted Access 2002 mdb file (and yes, proper rights are set on TMP paths and path,
6
6760
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 the SQL Profile to watch the T-SQL-Command which Access ( who creates the commands?) creates and noticed:
6
2669
by: serge calderara | last post by:
Dear all, Does any one have any idea why an sql statment with INNER JOIN syntax is working well with odbcprovider but not with Oledbprovider when accessing an access 2000 database? here is the code I have used with oledbprovider which fails Dim monodbc As New OleDb.OleDbConnection 'Odbc.OdbcConnection
5
40395
by: Alec | last post by:
Hi All, I am currently trying to link in Access 97 to a table in a MSSQL 7 server. Initially the link is fine, however, when I close the access database and re-open it from the same network lacation on a different machine, it tells me that the ODBC connection to 'SQL Server Name' failed. How can I create the linked table permenant no matter what machine the networked database is opened on?
4
3565
by: Dave | last post by:
Hey guys, I have an ODBC problem that has me stumped. I wrote a VBA script to run in Microsoft Excel that pulls data out of an application using that application's ODBC driver and puts it into Excel. I am trying to translate the same program over to Microsoft Access and I ran into a problem. Access locks up if the data I am querying for is not present in the database. To retrieve data from the database of the application, my Excel...
0
1748
by: Marco Martin | last post by:
Hi group, I have an app that accesses an Access DB. We are using odbc because this app will probably be using other databases as well dependiing on the clients needs. Consider the following; OdbcParameter prmID = new OdbcParameter("ID", OdbcType.Text);//ID column is Primary Key
3
4247
by: brosenblum | last post by:
Hi, I've been using Access 2000 for a while but this is my first time trying to connect an Access Front End to a SQL Server back-end. I've created a few tables in SQL Server (2005 Standard) in a database file I call CustInfo.mdf. I go into into MS Access and create the ODBC connection to this file. When I click on the new ODBC connection I see a load of tables I can link to, but they are all from the SQL Master Database (tables and...
0
7934
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7870
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8362
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7992
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6639
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5732
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5400
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1465
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.