Solved

Combining Like Tables in different Access Databases

Posted on 2006-11-24
5
147 Views
Last Modified: 2010-04-30
I would like to combine multiple tables that have identical structure but reside in different databases.  I can select each record and insert it into a master but I am looking for something better and faster.  Any ideas?
0
Comment
Question by:pat_cunningham
  • 2
  • 2
5 Comments
 
LVL 9

Expert Comment

by:pradapkumar
ID: 18007530
what's your Database?
Oracle/MySQL?
0
 

Author Comment

by:pat_cunningham
ID: 18007576
Access
0
 
LVL 9

Expert Comment

by:pradapkumar
ID: 18007593
you need to made all the tables available with some reasonable unique name at a single database. Then only your aim will be served easily.
0
 

Author Comment

by:pat_cunningham
ID: 18007713
I dont understand.
0
 
LVL 15

Accepted Solution

by:
cquinn earned 500 total points
ID: 18007752
You can run an append query in Access which selects data from an external database and combines it with a table in the current database.

For example, if the tables you are wishing to combine are both called tblClient, open up one database and run a query with syntax like this:

INSERT INTO tblClient
SELECT tblClient.*
FROM tblClient IN "C:\test\Otherfile.mdb";


This will take data from a table called tblClient in a database called Otherfile.mdb located in the C:\test\ directory and add it to the tblClient table in the currently open database

You will have problems if you have duplicated data
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Access 2016 VB code 9 103
Restricting text box entry from \/:?<>"| 9 76
Macro which automatically sends attachment to Outlook 14 61
How does CurrentUser work? 10 31
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now