Results 1 to 4 of 4
  1. #1
    Canadiangal is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Sep 2009
    Posts
    81

    Splitting one field into multiple fields in a Report


    I have a field called Services that has a 10 different service options. I want to produce a report where it lists the patrons name and the service/services that they have received on one line.

    I don't want to group by service. How can I split this field?
    Thanks in advance for any help you can give.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    You say 'split' the field but sounds like you really want to concatenate values from multiple records. Review: http://allenbrowne.com/func-concat.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Canadiangal is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Sep 2009
    Posts
    81
    Your correct June. I have a table called services, with the fields Service and ServiceID.
    I have another table called ServiceData, with the fields: ServiceID, Results, Date Administered, Date Due, and Assessment.
    When I pull it into a report, then it would seem like my best case scenerio is to place the Service in a group header. However, the request is that the data resemble a table, with the persons name first, then all of the services following with the results, date administered, date due, and assessment.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    A grouping report is the simplest output for your data. In addition to the ConcatRelated function, review these links for other techniques to 'rotate' data.
    http://forums.aspfree.com/microsoft-...ry-322123.html
    http://datapigtechnologies.com/flashfiles/crosstab.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 7
    Last Post: 06-04-2013, 01:10 PM
  2. Replies: 1
    Last Post: 04-12-2013, 03:03 PM
  3. Replies: 1
    Last Post: 09-25-2012, 01:58 PM
  4. splitting data multiple fields
    By rpollard in forum Access
    Replies: 0
    Last Post: 03-22-2011, 07:15 PM
  5. Splitting a field to separate fields
    By Petefured in forum Programming
    Replies: 8
    Last Post: 06-08-2009, 04:11 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