Solved

Combining Like Tables in different Access Databases

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

860 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