Results 1 to 2 of 2
  1. #1
    Counterpoint13 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    May 2013
    Posts
    5

    Question Concatenating all rows in a single column without using pure code! Is it possible!?


    Hi!

    I propose a challenge to Access users out there!

    In Access 2007 is it possible without using code to concatenate all the data from a single column?

    For example imagine this column exists:

    FirstNames
    Jim
    Jack
    Sally
    Fredrick
    Alfi

    I want to run a query that will combine all the first names into a list separated by some delimiter. The query should return a result in a single row and a single column like so:

    DataResult
    Jim~Jack~Sally~Fredrick~Alfi

    Now, if this cannot be done without using code then provide a solution in code is fine as well, but please comment your code so I can understand what in goodness is going on!

    If further clarification is needed please do not hesitate to post!

    Please note this post is posted on multiple forums.


    Thank you all! : )


    Cordially,

    Counterpoint

  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,518
    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: 8
    Last Post: 02-28-2013, 02:21 PM
  2. Replies: 3
    Last Post: 03-30-2012, 10:50 AM
  3. Replies: 6
    Last Post: 01-13-2012, 09:17 AM
  4. Replies: 5
    Last Post: 12-01-2011, 05:38 PM
  5. Concatenating rows & records
    By Alex Motilal in forum Queries
    Replies: 2
    Last Post: 08-24-2011, 12:01 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