Combine two tables with a query - How to?

S

Shyguy

I have two tables, one the working table and the second is an archive
table of older records. I would like to combine both tables with a
query to do an historical report. I'm guessing this is easy but I
can't figure it out. ;-(

Any help is greatly appreciated.
 
D

Duane Hookom

If the table structure is nearly the same, you should be able to use a union
query.

SELECT FieldA, FieldB, FieldC,...
FROM tblWorking
UNION ALL
SELECT FieldA, FieldB, FieldC,...
FROM tblArchive;
 
D

Duane Hookom

SELECT statements are usually in a query (View->SQL) or can be used in
Record Source or Row Source properties.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top