Results 1 to 2 of 2
  1. #1
    jdowdy is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2009
    Posts
    1

    Need help with a Union Query

    Trying to Union to tables together but can't get it to work.
    I want to combine both tables into 1 single table and keep everything in both:

    SELECT
    a.OtherPropertyCode,
    a.GrossTrans_TY,
    a.GrossTrans_LY
    from (
    select


    Table2_PropertyTrx_TY.OtherPropertyCode,
    Table2_PropertyTrx_TY.GrossTrans_TY,
    from Table2_PropertyTrx_TY
    UNION ALL
    select
    Table3_PropertyTrx_LY.OtherPropertyCode,
    Table3_PropertyTrx_LY.GrossTrans_LY
    from Table3_PropertyTrx_LY
    ) a

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I would start with two separate queries that work and then put them together.

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

Similar Threads

  1. Create table out of union query
    By DKruse1969 in forum Queries
    Replies: 2
    Last Post: 08-28-2009, 09:55 AM
  2. Replies: 0
    Last Post: 12-28-2008, 01:56 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