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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Add 2 queries
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 |
#2
|
|||
|
|||
Add 2 queries
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. "rscosta" wrote: 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 |
#3
|
|||
|
|||
Add 2 queries
rscosta wrote:
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. -- Marsh MVP [MS Access] |
Thread Tools | |
Display Modes | |
|
|