I have a parameter called "Report Type" which gives the user the option of selecting to see the data grouped "By Month", "By Week", "By Day", or "By Hour".
I would then like to modify the group so that it correctly groups this data based on the user selected parameter. I have read you can enter a formula and change the sort order, which I have done... but their must be a way to change the date grouping as well. I have found keywords such as "crGCMonthly" in the technical manual but they do not work.
Sample formula...
If {?Report Type} = "By Month" then
crAscendingOrder
Else
crAscendingOrder
------------------------------------------------
I think it would be something like...
If {?Report Type} = "By Month" then
crGCMonthly
Else
crGCWeekly
Any help would be appreciated.