Results 1 to 5 of 5
  1. #1
    loonytoons is offline Novice
    Windows 7 32bit Access 2003
    Join Date
    Feb 2015
    Posts
    2

    Grouping and dates

    Hi guys,



    I have a theoretical question.

    I have a table that contains rows that have postcode, house number and the date of a transaction.
    Therefore, the table contains lots of rows that refer to the same postcode/house number, but the date is different.

    Records need to be grouped by postcode/house number.
    I then need to be able to list the dates that refer to that postcode/house number

    Some addresses will have 1 date applied, some will have 10.

    I want to be able to show the grouped postcode/house number with all the dates that apply to that grouping.

    Is that possible?

    Thanks,
    Sandra

  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
    Typically done with a function like:

    http://allenbrowne.com/func-concat.html
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    lfpm062010 is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Location
    US
    Posts
    415
    As long as the data for postcode/house number are consistent.

    You can sort by postcode/house number. Then it will list all the dates in the postcode/house number.

  4. #4
    loonytoons is offline Novice
    Windows 7 32bit Access 2003
    Join Date
    Feb 2015
    Posts
    2
    pbaldy, thanks for the suggestion - works a treat

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    Happy to help and welcome to the site!
    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: 12-02-2013, 03:46 PM
  2. Replies: 3
    Last Post: 06-27-2013, 10:18 AM
  3. Grouping Columns with dates
    By gauravnagpal in forum Access
    Replies: 6
    Last Post: 04-10-2012, 06:03 AM
  4. Query input dates for range of dates in two fields
    By kagoodwin13 in forum Queries
    Replies: 3
    Last Post: 02-13-2012, 04:25 PM
  5. Replies: 1
    Last Post: 06-09-2011, 09:15 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