Results 1 to 8 of 8
  1. #1
    abordeau is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Oct 2013
    Posts
    8

    Help with a join query

    Helllo,



    I am trying to create a weekly schedule form an excel spreadsheet that is quite horribly designed. (redesigning it is not an option). I am responsible for picking the proper information off this schedule and putting into a much more user friendly form for our supervisors. I used single queries to get the information that I need, now I need to join them some how that doesn't put them in order by column. I would like them to be organized by row.

    Eventually I will be creating a macro and form for this as well.

    ex.

    Monday Mechanics
    Monday Electric
    Tuesday Mechanics
    Tuesday Electric
    ect.

    I have attached a copy so you can understand what I mean.

    Thanks in advance for any help you can give.

    Angelina
    Attached Files Attached Files

  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,529
    You might try importing the linked Excel file as an Access table and reposting the sample (it won't work for anybody but you as is).
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    abordeau is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Oct 2013
    Posts
    8

    Sorry my bad

    I tried to convert the xlsx file into an access table but for whatever reason it made file to big to upload. I even tried to compact it but it still wasn't small enough. So I attached a zipped copy of the xlsx file. Hopefully you can open it.
    Attached Files Attached Files

  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,529
    I'm not clear on the result you're after. You can stack the results as separate records with a UNION query.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    abordeau is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Oct 2013
    Posts
    8
    Right, thats what I'm after. I can't figure out how to do this without the results repeating themselves

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,529
    I don't get repeat values with this test:

    SELECT [1st shift Friday-Elec].*
    FROM [1st shift Friday-Elec]
    UNION ALL
    SELECT [1st shift Friday-Mech].*
    FROM [1st shift Friday-Mech]
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  7. #7
    abordeau is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Oct 2013
    Posts
    8
    Thank you


    Quote Originally Posted by pbaldy View Post
    I don't get repeat values with this test:

    SELECT [1st shift Friday-Elec].*
    FROM [1st shift Friday-Elec]
    UNION ALL
    SELECT [1st shift Friday-Mech].*
    FROM [1st shift Friday-Mech]

  8. #8
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,529
    Happy to help, particularly somebody with a name I like so much I gave it to my daughter.
    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. Join Query?
    By KWarzala in forum Forms
    Replies: 5
    Last Post: 07-29-2014, 02:44 PM
  2. Inner join query not quite right
    By coach32 in forum Queries
    Replies: 6
    Last Post: 07-07-2012, 03:13 AM
  3. Join Query
    By hithere in forum Queries
    Replies: 4
    Last Post: 02-17-2012, 06:18 AM
  4. Outer Join Nested in Inner Join
    By Stevens7 in forum Queries
    Replies: 2
    Last Post: 10-19-2011, 01:34 PM
  5. inner join in query
    By Hrcko in forum Access
    Replies: 1
    Last Post: 02-01-2010, 05:54 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