I am using crystal 11.5. I have a group that runs off of this formula which gives me hours by month for 2014
if {PRJC.PREndDate} in cdate(2014,01,04) to cdate(2014,01,25) then 'January' else
if {PRJC.PREndDate} in cdate(2014,02,01) to cdate(2014,02,22) then 'February' else
if {PRJC.PREndDate} in cdate(2014,03,01) to cdate(2014,03,29) then 'March' else
if {PRJC.PREndDate} in cdate(2014,04,05) to cdate(2014,04,26) then 'April' else
if {PRJC.PREndDate} in cdate(2014,05,03) to cdate(2014,05,31) then 'May' else
if {PRJC.PREndDate} in cdate(2014,06,07) to cdate(2014,06,28) then 'June' else
if {PRJC.PREndDate} in cdate(2014,07,07) to cdate(2014,07,26) then 'July' else
if {PRJC.PREndDate} in cdate(2014,08,02) to cdate(2014,08,30) then 'August' else
if {PRJC.PREndDate} in cdate(2014,09,06) to cdate(2014,09,27) then 'September' else
if {PRJC.PREndDate} in cdate(2014,10,04) to cdate(2014,10,25) then 'October' else
if {PRJC.PREndDate} in cdate(2014,11,01) to cdate(2014,11,29) then 'November' else
if {PRJC.PREndDate} in cdate(2014,12,06) to cdate(2014,12,27) then 'December'
I inserted a group below that one that uses the following formula that I wan to give me hours for all of 2013
if {PRJC.PREndDate} in cdate(2013,01,05) to cdate(2013,12,28) then '2013'
When I run the report, it gives me January hours in the first group and only January hours in the second group. How can I get the second group to give me hours for the year.
There are no date range parameters in the report that should be restricting the data.
What am I missing?
if {PRJC.PREndDate} in cdate(2014,01,04) to cdate(2014,01,25) then 'January' else
if {PRJC.PREndDate} in cdate(2014,02,01) to cdate(2014,02,22) then 'February' else
if {PRJC.PREndDate} in cdate(2014,03,01) to cdate(2014,03,29) then 'March' else
if {PRJC.PREndDate} in cdate(2014,04,05) to cdate(2014,04,26) then 'April' else
if {PRJC.PREndDate} in cdate(2014,05,03) to cdate(2014,05,31) then 'May' else
if {PRJC.PREndDate} in cdate(2014,06,07) to cdate(2014,06,28) then 'June' else
if {PRJC.PREndDate} in cdate(2014,07,07) to cdate(2014,07,26) then 'July' else
if {PRJC.PREndDate} in cdate(2014,08,02) to cdate(2014,08,30) then 'August' else
if {PRJC.PREndDate} in cdate(2014,09,06) to cdate(2014,09,27) then 'September' else
if {PRJC.PREndDate} in cdate(2014,10,04) to cdate(2014,10,25) then 'October' else
if {PRJC.PREndDate} in cdate(2014,11,01) to cdate(2014,11,29) then 'November' else
if {PRJC.PREndDate} in cdate(2014,12,06) to cdate(2014,12,27) then 'December'
I inserted a group below that one that uses the following formula that I wan to give me hours for all of 2013
if {PRJC.PREndDate} in cdate(2013,01,05) to cdate(2013,12,28) then '2013'
When I run the report, it gives me January hours in the first group and only January hours in the second group. How can I get the second group to give me hours for the year.
There are no date range parameters in the report that should be restricting the data.
What am I missing?