473,770 Members | 2,113 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

copy linked tables

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

May 4 '07 #1
4 6353
Run a maketable query against it with the new table in the other DB.
That gets you all the data. In regard to settings that would very much
depend on
what type of table/file you are linked to. Going from Oracle to access or
SQL Server to Access
you can't take all the settings, from Excel there probably are none. Course
if it is an Access table you just go to the original table and copy and
paste it into the new DB.

Regards

Kevin C


"colmkav" <co******@yahoo .co.ukwrote in message
news:11******** **************@ o5g2000hsb.goog legroups.com...
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

May 4 '07 #2
On 4 May, 12:14, "Kc-Mass" <connearney_AT_ comcast_PERIOD_ netwrote:
Run a maketable query against it with the new table in the other DB.
That gets you all the data. In regard to settings that would very much
depend on
what type of table/file you are linked to. Going from Oracle to access or
SQL Server to Access
you can't take all the settings, from Excel there probably are none. Course
if it is an Access table you just go to the original table and copy and
paste it into the new DB.

Regards

Kevin C

"colmkav" <colmj...@yahoo .co.ukwrote in message

news:11******** **************@ o5g2000hsb.goog legroups.com...
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- Hide quoted text -

- Show quoted text -
It is an access table. I tried copying it but end up with a linked
table. Also I want to do it with VBA code. If I just copy it into a
blank table as you suggest, the field names have to all be changed.

If I do a maketable will that just give me all the same design as the
linked table ie field names all the same etc?

Colm

May 4 '07 #3
On May 4, 7:44 am, colmkav <colmj...@yahoo .co.ukwrote:
On 4 May, 12:14, "Kc-Mass" <connearney_AT_ comcast_PERIOD_ netwrote:


Run a maketable query against it with the new table in the other DB.
That gets you all the data. In regard to settings that would very much
depend on
what type of table/file you are linked to. Going from Oracle to access or
SQL Server to Access
you can't take all the settings, from Excel there probably are none. Course
if it is an Access table you just go to the original table and copy and
paste it into the new DB.
Regards
Kevin C
"colmkav" <colmj...@yahoo .co.ukwrote in message
news:11******** **************@ o5g2000hsb.goog legroups.com...
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- Hide quoted text -
- Show quoted text -

It is an access table. I tried copying it but end up with a linked
table. Also I want to do it with VBA code. If I just copy it into a
blank table as you suggest, the field names have to all be changed.

If I do a maketable will that just give me all the same design as the
linked table ie field names all the same etc?

Colm- Hide quoted text -

- Show quoted text -
Do you have access to the database that contains the linked table?

May 4 '07 #4
A maketable query will give you a table with the same fieldnames with no
need for a link. It copies the data from the old table (linked or
otherwise) and retains the same field names as the original linked table.
You can run the query from inside VBA either by referencing a query in the
querydef collection (ie one you have saved) or by placing the sql statement
into a string variable in the code and then executing it.

Regards
Kevin C

"colmkav" <co******@yahoo .co.ukwrote in message
news:11******** **************@ u30g2000hsc.goo glegroups.com.. .
On 4 May, 12:14, "Kc-Mass" <connearney_AT_ comcast_PERIOD_ netwrote:
>Run a maketable query against it with the new table in the other DB.
That gets you all the data. In regard to settings that would very much
depend on
what type of table/file you are linked to. Going from Oracle to access
or
SQL Server to Access
you can't take all the settings, from Excel there probably are none.
Course
if it is an Access table you just go to the original table and copy and
paste it into the new DB.

Regards

Kevin C

"colmkav" <colmj...@yahoo .co.ukwrote in message

news:11******* *************** @o5g2000hsb.goo glegroups.com.. .
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- Hide quoted text -

- Show quoted text -

It is an access table. I tried copying it but end up with a linked
table. Also I want to do it with VBA code. If I just copy it into a
blank table as you suggest, the field names have to all be changed.

If I do a maketable will that just give me all the same design as the
linked table ie field names all the same etc?

Colm

May 8 '07 #5

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

Similar topics

8
4041
by: Chinmoy Mukherjee | last post by:
when the node structure is like struct node { node *next; node *rand; (// random is supposed to point to another node int value; }
5
20453
by: pinballjim | last post by:
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
3
8370
by: Tlm | last post by:
Hello All, I have a form (FrmA) with a subform (SubFrmB) embedded in it. SubFrmB also has a subform embedded in it (SubFrmC) The form's recordsource is based on a table (TblA). SubFrmB's recordsource is also based on a table (TblB). SubFrmC's recordsource is also based on a table (TblC). There is a one-to-many relationship between TblA (one) and TblB (many).
4
18964
by: Neil Ginsberg | last post by:
I have ODBC linked tables to a SQL 7 database in an A2K database. The linked tables do not have the password stored in them, so the first time the user accesses them, they need to enter the SQL password. I am developing a process that will automatically run at night which will access those tables. I need to be able to give Access the password, as the user currently does, so that the process can run without a password prompt appearing....
1
10961
by: deko | last post by:
DoCmd.CopyObject copies data, but I only need structure. I'm trying to clone several tables in my Access 2003 mdb. The goal is to link to a series of Excel spreadsheets and then run various action queries against the data in the linked tables (to massage and import it). Since I can't run action queries against linked Excel tables, I need to create temp tables that are clones of the required existing tables in the database then append...
3
3217
by: david | last post by:
Hi, I've been reading tons of posts on how to copy records, but to no avail....i'm still stuck. There are three tables: Main, Sub-Form1 & Sub-Form2 I have a form which displays some data. The PK (ProductID) for each record on the form is an AUTONUMBER. This form also has a sub-form, linked via ProductID. The subform also
19
3478
by: davidgordon | last post by:
Hi, I need some pointers/help on how to do the following if it possible: In my access db, I have the following: Tables: Products, Sub-Assembly, Product-Pack Table, Products
2
6009
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, and the linked tables are successfully created. I use the data from these linked tables in several forms. All works great until I close the Access frontend and open it again. When I try to use the forms, I get an error message: "Could not...
2
1519
by: Mark | last post by:
I have been developing a new application (FE on local drive) which is attached to tables in a BE on a server. For testing purposes I had a copy of the BE in the same folder as the live BE and the application and forms loaded quickly. The application is now ready to go live and using the linked table manager I have tried relinking the tables to the live BE. The tables (around 50) relink but it takes a while through the linked table...
0
10260
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10101
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
10038
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
9906
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8933
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
7456
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
6712
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();...
0
5354
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.