I wish to give user a tool to select period of car purchase.
(IE, the block of time within which sale made)
So, I'm gonna give him an option-group of choices like...
this week
this month
last month
in last 3 months
in last 6 months
And, in case none of the above 5 are good enough to sufficiently
narrow the number of choices, I'm going to give him a combo-box
of the 12 months of the year. That's generally pretty simple, but I
want the choices to 'drop down' this-a-way if he clicks it today...
May 2005
April 2005
March 2005
Feb 2005
Jan 2005
Dec 2004
Nov 2004
Oct 2004
Sep 2004
Aug 2004
Jul 2004
Jun 2004
And if he clicks in Feb '06
Jan 2006
Dec 2005
Nov 2005
Oct 2005
Sep 2005
Aug 2005
Jul 2005
Jun 2005
May 2005
April 2005
March 2005
Feb 2005
The months are sort of backing up, as you can probably see.
I'm sure there's a clever way to do this. Its important to me that
whatever he chooses indicates a date value I can use in code
to determine month & year scope of vehicle sales records to
extract. In another combo-box altogether, I'll let him pick the
vehicle from a shorter list of only those sold in specified mo/yr.
(IE, the block of time within which sale made)
So, I'm gonna give him an option-group of choices like...
this week
this month
last month
in last 3 months
in last 6 months
And, in case none of the above 5 are good enough to sufficiently
narrow the number of choices, I'm going to give him a combo-box
of the 12 months of the year. That's generally pretty simple, but I
want the choices to 'drop down' this-a-way if he clicks it today...
May 2005
April 2005
March 2005
Feb 2005
Jan 2005
Dec 2004
Nov 2004
Oct 2004
Sep 2004
Aug 2004
Jul 2004
Jun 2004
And if he clicks in Feb '06
Jan 2006
Dec 2005
Nov 2005
Oct 2005
Sep 2005
Aug 2005
Jul 2005
Jun 2005
May 2005
April 2005
March 2005
Feb 2005
The months are sort of backing up, as you can probably see.
I'm sure there's a clever way to do this. Its important to me that
whatever he chooses indicates a date value I can use in code
to determine month & year scope of vehicle sales records to
extract. In another combo-box altogether, I'll let him pick the
vehicle from a shorter list of only those sold in specified mo/yr.
Comment