CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2008
    Posts
    1

    Talking Find "Next" date

    I have a report where I have to supply the "next" date for a specific event. There may be a number of event dates coming up in the future, but I only want to display the next one.

  2. #2
    Join Date
    May 2006
    Posts
    324

    Re: Find "Next" date

    Group by event. Record selection by date > currentdate.

    Option 1)
    Sort by date ascending. Print in the group header.

    Option 2)
    Use the group selection formula to get the minimum date per event, e.g. {table.date} = minimum({table.date}, {table.event})

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured