Results 1 to 2 of 2
  1. #1
    SteveI is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    6

    How do I Merge Four Tables Together

    I have four tables, each with two fields Product and Price. Exch of the four table has different data in each of those fields and I would like to make one table with the fields Product and Price which will have four rows, one from each of the tables (this is all the date in all the tables, just one row in each table)



    Can anyone tell me how this is done please? If it helps to explain the answer assume the tables are called Tbl1, Tbl2, Tbl3 and Tbl4. The primary key for each of the tables can ether be the same (Product) or have no key set at all if ths makes a difference.

    Thanks in advance.

  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,521
    Try a UNION query:

    SELECT Field1, Field2
    FROM Table1
    UNION ALL
    SELECT Field1, Field2
    FROM Table2
    UNION ALL
    ...
    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. Mail Merge
    By Nixx1401 in forum Access
    Replies: 1
    Last Post: 02-15-2010, 10:51 AM
  2. Name Merge
    By leejqs in forum Reports
    Replies: 3
    Last Post: 07-16-2009, 07:02 AM
  3. Merge two fields
    By daviddoria in forum Access
    Replies: 0
    Last Post: 01-31-2009, 09:12 AM
  4. Merge Code problems
    By kfergus in forum Access
    Replies: 1
    Last Post: 06-01-2006, 03:36 PM
  5. Mail merge
    By grgerhard in forum Forms
    Replies: 0
    Last Post: 04-25-2006, 05:06 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