Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In my Access (2010) database, I have 4 linked tables (from other Access databases) that I would like to feed into one table, or query. I've tried using the query design but can't seem to get it right. Each table has the following columns:

Date, ColorID, PartCategory, PartSubcategory, MilThickness, Painter, Paint Line, Pre/Post Cure, Reading Number, Inspector, Time.

Like I said before I would like to be able to see the data records of all 4 linked tables in one table or query, but I would need instructions on how to do this.

share|improve this question
add comment

1 Answer

This will return everything from all 4 tables as one recordset:

Select * from Table1
Union
Select * from Table2
Union
SElect * from Table3
Union
Select * from Table4

You would need to put this in SQL view of your query and replace Table1 etc, with the actual table names.

For more information about using Union, you can go here.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.