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.

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 20409
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
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
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
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: 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
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
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
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
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
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
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
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
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...
0
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...

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.