Results 1 to 4 of 4
  1. #1
    oleander is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2017
    Posts
    16

    Compiling Two Queries Together

    Hi everyone,



    I have two separate queries that have the same column headings that I would like to view all together in one set of query results. Is it possible to list all the results from one query and then the results from the second query all together?

    Thanks!

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    Yes, a UNION query:

    SELECT Field1, Field2...
    FROM FirstTable
    UNION ALL
    SELECT Field1, Field2...
    FROM SecondTable
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    oleander is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2017
    Posts
    16
    That did it! Thank you!

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    Happy to help!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Some errors on compiling
    By Lou_Reed in forum Access
    Replies: 14
    Last Post: 03-29-2017, 12:52 PM
  2. Compiling a filter from List Box values
    By KristenAsh in forum Programming
    Replies: 8
    Last Post: 12-03-2012, 01:11 AM
  3. Compiling items with same ID horizontally
    By tomahs in forum Access
    Replies: 3
    Last Post: 06-04-2011, 12:36 AM
  4. Compiling Data, Not Replacing
    By helpaccess in forum Access
    Replies: 12
    Last Post: 03-08-2011, 03:13 PM
  5. Compiling for distribution
    By wthoffman in forum Access
    Replies: 1
    Last Post: 02-03-2011, 09:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums