Mutlitple Tables that need to be consolidated into one

alexaronson

Active Member
Joined
Sep 30, 2005
Messages
314
I have multiple tables that happen to have all the same fields titles. Each table is over 100,000 rows.

Can anyone help give me direction on how I can combine the tables?

Thanks,

An Access Newbie.
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

pritcham

Board Regular
Joined
Oct 26, 2005
Messages
128
Hi

Assuming you're not concerned about introducing duplicates etc (if any exist in different tables for example) then you've got a couple of options:

1) Take a look at producing a UNION query (see the helpfile) that unions all the different tables - you could use the results of this query to generate a new table if you want.

2) Take a look at running Append queries (again, in the helpfile) to append all the details from the extra tables on to which ever you designate as being your 'master table'.

Hope that helps
Martin
 

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,344
Office Version
  1. 365
Platform
  1. Windows
If you use Martin's first suggestion you won't actually get duplicates, unless you specify to include ALL records from the tables.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,128
Messages
5,835,564
Members
430,367
Latest member
glastonbury

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
Top