WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Grouping by Past and Future Dates

 
   Home -> Office other -> Reports RSS
Next:  PivotChart: Line - Column Chart Type  
Author Message
Steve C

External


Since: Oct 01, 2007
Posts: 9



(Msg. 1) Posted: Thu Oct 29, 2009 8:41 am
Post subject: Grouping by Past and Future Dates
Archived from groups: microsoft>public>access>reports (more info?)

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!
--
Steve C
Back to top
Login to vote
Duane Hookom

External


Since: Feb 07, 2005
Posts: 2415



(Msg. 2) Posted: Thu Oct 29, 2009 9:34 am
Post subject: RE: Grouping by Past and Future Dates [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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()

--
Duane Hookom
Microsoft Access MVP


"Steve C" wrote:

> 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!
> --
> Steve C
Back to top
Login to vote
Marshall Barton

External


Since: Dec 07, 2003
Posts: 1697



(Msg. 3) Posted: Thu Oct 29, 2009 11:08 am
Post subject: Re: Grouping by Past and Future Dates [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Steve C wrote:

>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()

--
Marsh
MVP [MS Access]
Back to top
Login to vote
Steve C

External


Since: Oct 01, 2007
Posts: 9



(Msg. 4) Posted: Thu Oct 29, 2009 8:14 pm
Post subject: Re: Grouping by Past and Future Dates [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thank you both for the help!
--
Steve C


"Marshall Barton" wrote:

> Steve C wrote:
>
> >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()
>
> --
> Marsh
> MVP [MS Access]
> .
>
Back to top
Login to vote
Display posts from previous:   
       Home -> Office other -> Reports All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
 Office
  Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support