J
Jay
I have a problem. I am trying to put data into date "buckets", but the
grouping interval needs to be variable and inputted with a form. For
example, I want to look at how many orders were placed every "x" days,
where x is inputted on the form. The first date needs to be the first
date out of the data. If my first record has a date of 12/1/04, and my
form has the number 2 inputted on it, then the output of the query
should be this:
Date Sum of itm_proc
12/1/04-12/3/04 3
12/2/04-12/4/04 4
12/3/04-12/5/04 2
And so on. A pivot table would work, but I need to be able to adjust
the grouping levels based on the input on the form.
grouping interval needs to be variable and inputted with a form. For
example, I want to look at how many orders were placed every "x" days,
where x is inputted on the form. The first date needs to be the first
date out of the data. If my first record has a date of 12/1/04, and my
form has the number 2 inputted on it, then the output of the query
should be this:
Date Sum of itm_proc
12/1/04-12/3/04 3
12/2/04-12/4/04 4
12/3/04-12/5/04 2
And so on. A pivot table would work, but I need to be able to adjust
the grouping levels based on the input on the form.