Results 1 to 2 of 2
  1. #1
    Jwehrly2000 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2014
    Posts
    1

    create a union query in Access 2010 from 2 tables of linked Excel data

    I have created an Microsoft Access 2010 database by linking to an Excel spreadsheet. Now the excel spreadsheet contains 2 different worksheets so I had to create two separate tables that hold the information. What I need to do is create a union query so I can combine all the records into one. So for example this is a database of housing records for two different locations and I want to create a query or a report to display all of them together is this possible?

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Generally:

    SELECT Field1, Field2
    FROM Table1
    UNION ALL
    SELECT Field1, Field2
    FROM Table2
    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. Replies: 1
    Last Post: 08-20-2013, 11:25 AM
  2. Replies: 10
    Last Post: 07-31-2012, 11:02 AM
  3. Replies: 3
    Last Post: 05-17-2012, 05:41 AM
  4. Replies: 3
    Last Post: 01-03-2012, 12:28 PM
  5. access 2010 windows7 nas linked tables
    By mikeb in forum Access
    Replies: 7
    Last Post: 03-18-2011, 03:59 PM

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