Results 1 to 3 of 3
  1. #1
    wvguy is offline Novice
    Windows 7 Access 2007
    Join Date
    Jul 2010
    Posts
    2

    split memo field content into rows in Query

    I'm Using Acces 2007



    Here is what I'm looking to do.

    The database has a memo field that has the following text

    John Doe, jane doe, bob smith

    when I make and run the query I would like it to seperate each name into its own row in the same column

    John Doe
    Jane doe
    bob smith

    Not all 3 names stacked in the same row

    table name: member
    field name: guests

    Thanks for any help you can give me

  2. #2
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,044
    Hi,

    if you need to show the names in separate rows, the "clean" approach would be to consider changing your database structure and create a new table with a one to many relationship to store the names.
    then you could write a subroutine to separate the names in the memofield by the "," sign, and pump them in the new table.

    grNG

  3. #3
    wvguy is offline Novice
    Windows 7 Access 2007
    Join Date
    Jul 2010
    Posts
    2
    Thanks for your reply, I agree with you but I'm not able to do that. Thats why I'm looking for a way to do it in a query.

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

Similar Threads

  1. Memo field ?
    By beast_b9 in forum Access
    Replies: 2
    Last Post: 05-26-2010, 08:09 AM
  2. Split Query Field into Sub Queries/Tables
    By maggioant in forum Queries
    Replies: 0
    Last Post: 10-15-2009, 05:23 PM
  3. append to memo field
    By stuart rose in forum Programming
    Replies: 1
    Last Post: 08-12-2009, 10:02 AM
  4. Memo field in form
    By swotr in forum Forms
    Replies: 1
    Last Post: 03-28-2009, 03:56 PM
  5. MEMO field
    By casporov in forum Access
    Replies: 1
    Last Post: 11-11-2006, 08:17 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