Skip to Content
Former Member
Jul 20, 2007 at 04:00 PM

dynamically change the group axis


Hi All

I have created a crystal report which takes 2 parameters startdate and enddate and draws a chart for usage between these days. In the chart order, I have given the date option 'for each day'. However if just one day is chosen, I would like this section to print 'for each hour'. I tried using formula for group sort order but that is only for ascending/descending order.

Is it possible to dynamically ascertain the date option whether to use for hour or for day after the parameter dates are chosen?

Any help is much appreciated.