473,395 Members | 2,468 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,395 software developers and data experts.

link tables

Hi, all

I have moved a backend/frontend database (2 mdb files) to a different
computer, a task done over and over in the past. The location on the second
computer has a different path name from the location on the former computer.

When I try to refresh the table links at the new location through the Linked
Table Manager, the window that appears that usually holds all of the names
of the tables to be refreshed, is totally empty. Of course, I can't link
anything.

Manually deleting and relinking the tables in the frontend is possible, but
painful as a final solution every time. Any suggetions to troubleshooting
this one would be appreciated.

LCalaway
Nov 13 '05 #1
3 2399
VBA Code?

All tables are in the Tables Collection, and, my recollection is that there
is pretty good Help on using it. Of course, if you are running Access 2003,
there are some who would argue that none of its "online primary" Help is
very good.

That's what I used to do back when I worked on an Access client to Informix,
to convert a Development database into a Production database for
distribution. Of course, for that situation, you had to delete the TableDef
and create a new TableDef, but it wasn't a big problem.

Matter of fact, isn't there code in the Solutions.MDB sample database for
re-linking tables? Visit the Knowledge Base at
http://support.microsoft.com/default...b;en-us;248674 for download
instructions. (Or search for Knowledge Base article 248674.

Larry Linson
Microsoft Access MVP
"LCalaway" <re******@gte.net> wrote in message
news:B_Zwe.18245$rE6.2095@trnddc06...
Hi, all

I have moved a backend/frontend database (2 mdb files) to a different
computer, a task done over and over in the past. The location on the second computer has a different path name from the location on the former computer.
When I try to refresh the table links at the new location through the Linked Table Manager, the window that appears that usually holds all of the names
of the tables to be refreshed, is totally empty. Of course, I can't link
anything.

Manually deleting and relinking the tables in the frontend is possible, but painful as a final solution every time. Any suggetions to troubleshooting
this one would be appreciated.

LCalaway

Nov 13 '05 #2
My question has to do with why the container, while using the Linking
Wizard, is completely empty when it should list the tables that need to be
refreshed to the newly relocated backend.

There is a BUG - reported in article 835519. Unfortunately the suggestions
there don't work.

Am looking for other help if anyone has seen this before.

Thanks
LCalaway
"Larry Linson" <bo*****@localhost.not> wrote in message
news:Lv_we.24780$Ff6.20432@trnddc09...
VBA Code?

All tables are in the Tables Collection, and, my recollection is that
there
is pretty good Help on using it. Of course, if you are running Access
2003,
there are some who would argue that none of its "online primary" Help is
very good.

That's what I used to do back when I worked on an Access client to
Informix,
to convert a Development database into a Production database for
distribution. Of course, for that situation, you had to delete the
TableDef
and create a new TableDef, but it wasn't a big problem.

Matter of fact, isn't there code in the Solutions.MDB sample database for
re-linking tables? Visit the Knowledge Base at
http://support.microsoft.com/default...b;en-us;248674 for
download
instructions. (Or search for Knowledge Base article 248674.

Larry Linson
Microsoft Access MVP
"LCalaway" <re******@gte.net> wrote in message
news:B_Zwe.18245$rE6.2095@trnddc06...
Hi, all

I have moved a backend/frontend database (2 mdb files) to a different
computer, a task done over and over in the past. The location on the

second
computer has a different path name from the location on the former

computer.

When I try to refresh the table links at the new location through the

Linked
Table Manager, the window that appears that usually holds all of the
names
of the tables to be refreshed, is totally empty. Of course, I can't link
anything.

Manually deleting and relinking the tables in the frontend is possible,

but
painful as a final solution every time. Any suggetions to troubleshooting
this one would be appreciated.

LCalaway


Nov 13 '05 #3
Sample DAO Code (located in frontend database)
======================================

Sub AttachTablesSample()

Dim Db As Database, Td As TableDef
Dim N As Integer, T As Integer

Const MdbName = "x:\foldername\backend.mdb" '** Full name of backend
database **"

Set Db = CurrentDb
T = Db.TableDefs.Count

For N = 0 To T - 1
Set Td = Db.TableDefs(N)
If Td.Connect <> "" Then
Td.Connect = ";DATABASE=" & MdbName
Td.RefreshLink
End If
Next N
Set Db = Nothing

End Sub
Code only links tables which already have been linked to the backend
database (e.g. ignores tables located in the frontend database).

Clearly, if you wanted the user to be able to specify the backend file name,
error trapping is required.

Steven R. Zuch, CPA
Cogent Management Inc.
"LCalaway" <re******@gte.net> wrote in message
news:B_Zwe.18245$rE6.2095@trnddc06...
Hi, all

I have moved a backend/frontend database (2 mdb files) to a different
computer, a task done over and over in the past. The location on the
second computer has a different path name from the location on the former
computer.

When I try to refresh the table links at the new location through the
Linked Table Manager, the window that appears that usually holds all of
the names of the tables to be refreshed, is totally empty. Of course, I
can't link anything.

Manually deleting and relinking the tables in the frontend is possible,
but painful as a final solution every time. Any suggetions to
troubleshooting this one would be appreciated.

LCalaway

Nov 13 '05 #4

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

Similar topics

1
by: Lothar Armbr?ster | last post by:
Hello out there, this morning I had to get some rows via flashback query. Since my undo retention is just 3h, the undo segments were already aged out. But I have a physical standby database that...
2
by: Jackson | last post by:
I'm having a problem with some .DBF tables and Access 2002. When I try to link them as external data, Access reports "External table is not in expected format", help says the table has changed...
3
by: debbie | last post by:
I have an Access 2002 program that I install using Wise. The first thing my program does when a front end is opened is re-link, then it checks the version and if needed upgrades the backend. My...
7
by: Lisa | last post by:
I have an Access 2000 application that uses the following function to re-link my tables when I switch from my Current back end to a Dummy back end. I also use it to refresh my links. Function...
13
by: rdemyan via AccessMonster.com | last post by:
My front-end code manually links to the backend file. I was wondering what stops Access from linking to the system tables in the backend file. Is it just by virtue that they are hidden? This...
4
by: sbowman | last post by:
I'm linking a bunch of tables that are in SQL to my Access db and I get the following error on 3 of the tables: "Seq.Group is not a valid name." I tried doing an import instead of a link, but I got...
7
by: ApexData | last post by:
Hello I currently Link the FE/BE using the LinkTables Option and the Linked Table Manager. Any time I need to move the BE to another location, I have to go through this process over again. I...
6
by: Matt | last post by:
Hi All, I have found a version of my answer on GG, but I have not been able to find my exact answer, thus the post. I am using Access 2000 Situation: I have a multi user frontend database...
8
by: Neil | last post by:
I just started using Access 2003, and I can't link a SQL Server table. I right-click on the database window; select Link Tables; and select ODBC Databases from the Files of Type dropdown. As soon...
5
by: edwardwill | last post by:
My client has a mission-critical application that was written in Microsoft Access sitting on a SQL Server database. It is basically a Quotation management system. The client wishes to install CRM...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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,...
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
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...

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.