I am creating a formula for and using that as Group.
The formula is like this
If DateDiff('d',{Train.BOOKING_DATE},{Train.ARRIVAL_DATE})
in 0 to 7 then "0-7 days "
else if
DateDiff('d',{Train.BOOKING_DATE},{Train.ARRIVAL_DATE})
in 8 to 14 then "8 to 14 days"
else if
DateDiff('d',{Train.BOOKING_DATE},{Train.ARRIVAL_DATE})
in 15 to 30 then "15 to 30 days"
else "greater than 31 days"
I want the report to show all the Groups even if
there are no data in one of the group. For example
if there are no values in 15 - 30 range, then
the data displayed is
0-7 days 10
8 to 14 days 15
Greater than 31 days 8
should be displayed as
0-7 days 10
8 to 14 days 15
15 to 30 days 0
Greater than 31 days 8
How can this be achieved ???
I am using Crystal 10, Oracle DB
kutoose@yahoo.com
The formula is like this
If DateDiff('d',{Train.BOOKING_DATE},{Train.ARRIVAL_DATE})
in 0 to 7 then "0-7 days "
else if
DateDiff('d',{Train.BOOKING_DATE},{Train.ARRIVAL_DATE})
in 8 to 14 then "8 to 14 days"
else if
DateDiff('d',{Train.BOOKING_DATE},{Train.ARRIVAL_DATE})
in 15 to 30 then "15 to 30 days"
else "greater than 31 days"
I want the report to show all the Groups even if
there are no data in one of the group. For example
if there are no values in 15 - 30 range, then
the data displayed is
0-7 days 10
8 to 14 days 15
Greater than 31 days 8
should be displayed as
0-7 days 10
8 to 14 days 15
15 to 30 days 0
Greater than 31 days 8
How can this be achieved ???
I am using Crystal 10, Oracle DB
kutoose@yahoo.com