Results 1 to 3 of 3
  1. #1
    cactuspete13 is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Dec 2012
    Posts
    53

    Combine record entries


    Not sure if this is possible but I thought I'd ask. Is it possible to group multiple items grouped by a like id. For example, a table (worktbl), has the following columns: ID (auto number), CustomerName (text), PurchaseDate (Date/Time). In the table are three entries for John Smith, ID is 1, and the following dates: 1 Feb 14, 1 Mar 14, and 1 Apr 14. What I am trying to do is get a query to return one entry with the three dates listed in one block separated by commas: John Smith; 1 Feb 14, 1 Mar 14, 1 Apr 14

  2. #2
    lfpm062010 is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Location
    US
    Posts
    415
    I have done that in VBA and create the resualt in a table.
    I have also try that in query but not as clean as it would have in VBA.

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    That sounds like you want a 'crosstab' query. Try it with the query wizard.

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

Similar Threads

  1. Combine several records into one record
    By Helge in forum Queries
    Replies: 9
    Last Post: 01-25-2014, 03:26 PM
  2. Replies: 1
    Last Post: 11-29-2013, 05:18 PM
  3. Replies: 3
    Last Post: 02-19-2013, 08:15 AM
  4. Replies: 2
    Last Post: 10-02-2012, 03:18 PM
  5. Replies: 8
    Last Post: 01-21-2011, 10:28 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