473,480 Members | 1,874 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Automatically Created Local Copy of Linked Tables??

Hello everyone,

I'm looking for a simple way to create a local copy of a linked table.

I've got a database that links about 10 tables from other databases.
This works fine on my machine, but I need to distribute one single
database to others and cannot have any linked tables.

The only way I've figured out is to run the linked tables through Make
Table queries to make a temporary table, delete the linked table, and
then rename the temporary table to the name previously used by the
linked.

So I go from table A-linked to table A-temp, delete A-linked, and
rename A-temp to A-linked.

This seems needlessly complex to me, other database software I have
used has very simple commands to accomplish this...

Any help is much appreciated!
Nov 12 '05 #1
5 20422
pinballjim wrote:
Hello everyone,

I'm looking for a simple way to create a local copy of a linked table.

I've got a database that links about 10 tables from other databases.
This works fine on my machine, but I need to distribute one single
database to others and cannot have any linked tables.

The only way I've figured out is to run the linked tables through Make
Table queries to make a temporary table, delete the linked table, and
then rename the temporary table to the name previously used by the
linked.

So I go from table A-linked to table A-temp, delete A-linked, and
rename A-temp to A-linked.

This seems needlessly complex to me, other database software I have
used has very simple commands to accomplish this...

Any help is much appreciated!


Delete the linked tables and import them.

File, Get External Data, Import.

--
'-------------------------------
' John Mishefske
'-------------------------------

Nov 12 '05 #2
> Delete the linked tables and import them.

File, Get External Data, Import.


Is there not an automatic way or a command to do this? I'm trying to
avoid having to manually import the documents.

Thanks!
Nov 12 '05 #3
> Delete the linked tables and import them.

File, Get External Data, Import.


Is there not an automatic way or a command to do this? I'm trying to
avoid having to manually import the documents.

Thanks!
Nov 12 '05 #4
pinballjim wrote:
Delete the linked tables and import them.

File, Get External Data, Import.

Is there not an automatic way or a command to do this? I'm trying to
avoid having to manually import the documents.


Sure. Use:

DoCmd.TransferDatabase acImport, , "c:\temp\tester.mdb", _
acTable, "Employees", "Employees"

Check the online help for TransferDatabase() to get the syntax
explanation.

--
'-------------------------------
' John Mishefske
'-------------------------------

Nov 12 '05 #5
Save the linked tables with Name+"Linked"
And create a CreateTableQuerry to import the data to Name table.
Then create a macro that calls all the Querry needed to import the data, and
call this macro with an Update button or in an Autoexec macro (this will
allow you to update the data when you are connected or when you starts the
application.
Nov 12 '05 #6

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

Similar topics

1
8026
by: annie | last post by:
Hi all, I have recently ported my Access 2000 app to SQL Server, keeping the Access client as the front end using linked tables. I am also using triggers on my SQL tables to trap orphan...
1
1891
by: S. van Beek | last post by:
Dear reader, How to increase the response in case of working with linked tables, program in frond end mdb and tables in back end mdb. For possible combinations and their response...
2
5992
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
2057
by: boris_amj | last post by:
Help, I have an Access database with link tables to a SQL Server 2000 database. When I run the following query, it works OK: SELECT Format(,"mmmm yyyy") AS DateTXT, Sum(='CANCELLED') AS...
5
2755
by: erick-flores | last post by:
Hello all I have 4 tables in MS Access 2003. I want to export all these tables, with their links, to Excel. How do I export them with all the link between tables....can I do that? I know I can...
4
6318
by: colmkav | last post by:
Hi, I need to copy a linked table but without keeping the link. ie all the data and settings accept for the link to another db. How can I do this? Colm
2
8241
by: Bobby | last post by:
Hi, Not sure if this is Access, SQL or ODBC. I have a SQL database with an Access Front End. They are linked with ODBC. Occasionally (it's happened 3 times in 4 months) some of the linked tables...
1
1745
by: a Wellner | last post by:
I have a Database stored on the server, and a replica on a laptop, used for data collection in the field. The laptop is only connected to the network during synchronization. I am linking to tables...
4
2611
by: xperre van wilrijk | last post by:
Hi, I have inherited an access userinterface that links to sql server tables through ODBC. The SQL server database contains data related to villages in my country and is populated by my...
0
7043
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
7081
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
6921
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5336
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,...
1
4776
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...
0
4481
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...
0
2995
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2984
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1300
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 ...

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.