Grouping by Past and Future Dates

  • Thread starter Thread starter Steve C
  • Start date Start date
S

Steve C

In Access 2003, I'm creating a report based on a parameter query that asks
the user for a start date and end date (the data is sales activity tasks that
each have a date when they were/are due). The dates entered are typically
30-40 days older than today's date and 30-40 days out in the future. I want
my report to group by tasks that are due before today's date and ones due in
the future. Any help would be appreciated!
 
First, IMO parameter prompts are never appropriate user interface. Your users
deserve controls on forms where you can use a calendar control, set defaults,
check for integrity, etc.

That said, you can set a sorting and grouping level to an expression like:
=[DateField]<Date()
 
Steve said:
In Access 2003, I'm creating a report based on a parameter query that asks
the user for a start date and end date (the data is sales activity tasks that
each have a date when they were/are due). The dates entered are typically
30-40 days older than today's date and 30-40 days out in the future. I want
my report to group by tasks that are due before today's date and ones due in
the future.

Try grouping on an expression like:
=duedate < Date()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Grouping by Dates before & after Today's date 1
Excel Excel due and overdue date colours 2
Excel High lightng dates in future, today and past 1
Please help..Need a report due within 7 Weekdays 3
Excel Colour code dates 1
Countif 3
Multi-level GROUP BY 6
Excel Date Count 2

Back
Top