Results 1 to 2 of 2
  1. #1
    Joyce is offline Novice
    Windows XP Access 2007
    Join Date
    May 2013
    Posts
    1

    How to combine mulitple rows into single row in access using sql query

    Iam new to microsoft access.



    I need to combine multiple rows into single row in access using sql query

    Could anyone help me how to write the query?


    Field 1 Field 2

    A01 123
    A02 234
    A03 345

    Result should be A01 123,234,345





    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,641
    Most solution use a function like this:

    http://allenbrowne.com/func-concat.html
    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. Combine Two Rows - SQL Query
    By Somnath_IT2006 in forum Queries
    Replies: 1
    Last Post: 12-23-2011, 06:30 AM
  2. Query to find and COMBINE rows based on 2 fields
    By admessing in forum Queries
    Replies: 2
    Last Post: 12-13-2011, 12:59 PM
  3. Replies: 5
    Last Post: 08-29-2011, 09:37 AM
  4. combine rows
    By summerAIS in forum Queries
    Replies: 3
    Last Post: 07-31-2010, 10:13 PM
  5. Access to Excel transferring multiple rows to single row
    By peter_lawton in forum Import/Export Data
    Replies: 10
    Last Post: 09-23-2009, 10:16 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