C
CJ
I want to be able to generate a set of ranges to group data with in a
query at run-time. I want the start value to be the mimimum and the
last end value to come from min and max values from a field in the
dataset that I am grouping on. I want the end value for each range to
be a user-defined interval and the start value to be the next smallest
increment above the preceding range's end interval. The partition
function doesn't get me all the way there.
Range Example:
4.625 to 5
5.001 to 5.5
5.501 to 6
6.001 to 6.5
6.501 to 7
7.001 to 7.128
Any help on how I can right a routine to generate these ranges would
be appreciated!
Thanks,
Christine
query at run-time. I want the start value to be the mimimum and the
last end value to come from min and max values from a field in the
dataset that I am grouping on. I want the end value for each range to
be a user-defined interval and the start value to be the next smallest
increment above the preceding range's end interval. The partition
function doesn't get me all the way there.
Range Example:
4.625 to 5
5.001 to 5.5
5.501 to 6
6.001 to 6.5
6.501 to 7
7.001 to 7.128
Any help on how I can right a routine to generate these ranges would
be appreciated!
Thanks,
Christine