Solved

Combining Like Tables in different Access Databases

Posted on 2006-11-24
5
145 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

705 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

19 Experts available now in Live!

Get 1:1 Help Now