Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combinine data from two separate queries

Status
Not open for further replies.

Dbless

IS-IT--Management
May 8, 2002
22
US
I have two queries that I want to combine all the data from one into the other. Is this possible?

The reason for two queries is a one to many relationship with totals.
 
If both queries have the same field structure, you can use a UNION query to combine both recordsets.

In design mode, choose SQL from the view menu. Then type an SQL string that looks like this:

SELECT * FROM Query1
UNION SELECT * FROM Query2;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top