combine tables

reza_doang

Board Regular
Joined
May 31, 2010
Messages
187
hi all,

background:
i have 10 excel files which every file have almost 1.000.000 rows.
using access i want to combine all file become database.

what i do:
using access, i import one by one all excel file into access. so in 1 file access i have 10 table without primary key.

what i want to:
how to combine all table become one table?

many thanks for your help.

reza
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
You will need to use append queries to do this, and perhaps one make table.

you can then run all the appends from a macro so you get the database to run eveything in one go, and set the warnings to off once you have tested it so you don't keep seeing messages like you are about to run an append query followed by you are about to append XXXXXXXXXXXXXX records etc.
 
Upvote 0
An alternative to Trevor's suggestion (which will work) is to create a union query to combine all the tables. Then create a make table query to get everything into one table.

Alan
 
Upvote 0
Upvote 0

Forum statistics

Threads
1,224,617
Messages
6,179,914
Members
452,949
Latest member
beartooth91

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