If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Access > Combine 2 queries into 1 query

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old
Registered User
 
Join Date: Sep 2005
Posts: 313
Combine 2 queries into 1 query

Hi:

I have a Union query,
And, I want to create the table to store Union query results.
But, there are 2 steps to do.

How can I combine 2 queries into 1?

Thanks.
Reply With Quote
  #2 (permalink)  
Old
(Making Your Life Easy)
 
Join Date: Feb 2004
Location: New Zealand
Posts: 1,273
Know Use the Make table
__________________
hope this help

See clear as mud


StePhan McKillen
the aim is store once, not store multiple times
Remember... Optimize 'til you die!
Progaming environment:
Access based on my own environment: DAO3.6/A97/A2000/A2003
VB based on my own environment: vb6 sp5
ASP based on my own environment: 5.6
VB-NET based on my own environment started 2007
SQL-2005 based on my own environment started 2008
MYLE
Reply With Quote
  #3 (permalink)  
Old
Registered User
 
Join Date: Feb 2004
Location: Chicago, IL
Posts: 1,312
I am a little confused because in your question is the answer. To combine the results of two queries into one query you use a Union query. The thing to remember is that each query has to have the same number and order of fields for a Union query to work properly.

If, on the other hand, that you need to combine two queries into one table, then you can create a table design, then convert the two queries into Append queries. Or make on query a Make Table query and the other one an Append query.
Reply With Quote
  #4 (permalink)  
Old
Registered User
 
Join Date: Sep 2005
Posts: 313
I know that
There are 2 steps.

I want to use 1 query to do Union and create table.

Thanks.
Reply With Quote
  #5 (permalink)  
Old
Registered User
 
Join Date: Jan 2005
Posts: 31
Quote:
Originally Posted by accessman2
I want to use 1 query to do Union and create table.

Thanks.
SELECT <whatever>
INTO <whatever>
FROM <your union query>
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On