Results 1 to 4 of 4
  1. #1
    jokeboy1 is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Dec 2014
    Posts
    6

    Limiting Interval Grouping in a Report

    I'm creating an aging reporting in Access 2010. Using the 'Grouping' function, I've grouped the results in 90 day intervals (0-89 days, 90-179 days, etc.) However, since my data set includes some older records my last results 'bucket' is 4770-4859 days. I need to group all the older records together in a >720 days "bucket".

    The current coding in the control source is as follows; =Int(([Age])/90)*90 & " - " & Int((([Age])/90)+1)*90-1



    How can I revise the coding to get the result that I need?

    Thanks!

  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
    Maybe:

    =IIf([Age]>720, ">720", Int(([Age])/90)*90 & " - " & Int((([Age])/90)+1)*90-1)
    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
    jokeboy1 is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Dec 2014
    Posts
    6
    Sadly this still doesn't work. The code doesn't combine all the records. It just makes the heading ">720" and all the groupings after 720.

    Any other ideas?

  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
    If you want to provide db for analysis, follow instructions at bottom of my post.
    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: 9
    Last Post: 11-06-2014, 11:09 PM
  2. Limiting records in a report after grouping
    By Berlioz in forum Reports
    Replies: 8
    Last Post: 04-03-2014, 11:16 PM
  3. Grouping in a report
    By YStein142 in forum Reports
    Replies: 3
    Last Post: 06-28-2012, 05:22 PM
  4. Report grouping
    By tarhim47 in forum Reports
    Replies: 1
    Last Post: 06-08-2011, 04:31 PM
  5. Limiting the results displayed in a report
    By musicalogist in forum Reports
    Replies: 1
    Last Post: 06-10-2010, 04:44 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