Is it Possible to merge Databases of the same type into one?

michaeldh

Board Regular
Joined
Jun 11, 2002
Messages
201
Hi Guy's,

I was hoping you might have the answer to merging access databases into one file.

I have separate files for July August September etc etc and would like to get them all together in one database....any ideas??

The data has the same layout / fields in all separate data tables.

Thanks.

Michael.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Re: Is it Possible to merge Databases of the same type into

Import or link the tables into 1 common database. Create a Append query to merge all the tables into 1.

Hope this helps.

Parra o_O
 
Upvote 0
Re: Is it Possible to merge Databases of the same type into

Try a UNION query. This must be done in SQL view (when your query is in design view, go to View-SQL View). Something like:

SELECT * FROM JUN
UNION ALL SELECT * FROM JUL
UNION ALL SELECT * FROM AUG;

The UNION ALL will make sure that you get all records from all tables, even if there are what appear to be duplicate records.

HTH,

Russell
 
Upvote 0

Forum statistics

Threads
1,221,545
Messages
6,160,445
Members
451,646
Latest member
mmix803

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top