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! 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
'-------------------------------
> 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!
> 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!
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
'-------------------------------
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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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...
|
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...
|
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: 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...
|
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...
| |
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
|
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...
|
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...
|
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...
|
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,...
|
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...
| |
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: 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,...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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 ...
| |