Results 1 to 2 of 2
  1. #1
    pika2112 is offline Novice
    Windows 8 Access 2013
    Join Date
    Dec 2014
    Posts
    3

    help merge rows in query

    HI


    having a query result like this:


    Mealcode Day Patient code
    E01 2 234
    E01 2 654
    E01 2 987
    E03 3 256
    E03 3 234
    E03 3 123

    This query says to me that in the day 2 the meal is going to be the meal with the code E01 and the patients with the code 234, 654 and 987 cant eat it. them the same for they 3, 4, etc.

    If it would be possible I liked something like:

    Mealcode Day Patient code
    E01 2 234, 654, 987

    So that I have a row for each day and not like a row for each patient a day.

    Thanks for the help!

  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
    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: 12-03-2014, 06:41 PM
  2. Replies: 1
    Last Post: 04-14-2014, 12:29 PM
  3. Replies: 7
    Last Post: 10-30-2012, 02:18 PM
  4. Replies: 0
    Last Post: 02-09-2012, 05:43 PM
  5. merge or concatenate two rows in one
    By vojinb in forum Queries
    Replies: 7
    Last Post: 08-03-2011, 09:15 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