Crystal XI
I am trying to do a Sales Analysis report by week comparing 2 years of data.
I have the main report grouping by Monday of the week and it shows a date, 1/4/2015, 01/11/2015
I am trying to get a date value of this so that I can pass it to a subreport and calculate the starting ending dates for the previous year.
for example. I want to calculates 01/05/2014 - 01/11/2014 for the subreport for the second grouping.
I tried using Date() and Datevalue(), and it passes the string variable of the group if I send GroupName, but I have been unsuccessful to calculating the previous year date range.
Thank you in advance.