Add 2 queries

R

rscosta

Hi

I've build two diferente queries with the same fields (they have diferent
records). How can I add the 2 queries in just one?

Thanks

Ricardo
 
K

KARL DEWEY

Use a union query.
Or why not just use one and put your criteria in separate rows in the
design view. This ORs the criteria.
 
M

Marshall Barton

rscosta said:
I've build two diferente queries with the same fields (they have diferent
records). How can I add the 2 queries in just one?


Try using a UNION query to do it.

SELECT ...
UNION ALL
SELECT ...

That can not be done in the query design grid so you'll have
to use SQL view to create the combined query.

If that's not what you mean by "add the 2 queries in just
one", post back with more details about what the final
results you are trying to achieve.
 

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