Combine tables in query

natalievl

New Member
Joined
Jun 10, 2003
Messages
3
Hi everyone,

I hope someone can help me.

I have a few tables with the same structure but different data.

I need to list them in a query or a table query that will automatically update.

The tables are not linked.

:pray:
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
You can create a join/union query with 2 or more tables, this way you can link the data for use in reports/forms

or you can create an append query to update one table from another. Search this sight or help file for these topics.

Ziggy
 
Upvote 0
I need the matching fields to appear in the same field without any matching data.

Can you help any further?
 
Upvote 0
Hi,

Try clicking Insert, Query and choose Design View. Once in design view choose Query, SQL Specific, Union. Then type something like this:-

SELECT Table1.*

UNION ALL

SELECT Table2.*

Does that do what you want? Obviously you'll need to substitute Table1 and Table2 with the names of your tables.
 
Upvote 0
Hi Natalie,

Can you provide more details, and maybe the fields for the tables, (unless dk has your answer).

Ziggy
 
Upvote 0

Forum statistics

Threads
1,223,548
Messages
6,172,983
Members
452,496
Latest member
VC777

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