I am using Crystal Reports 8.5 and will be upgrading to 9.0 this week. My database is SQL Server.
I have a report that asks the user for a Parameter called Date. I would like to create a group on this {?Date} so it will be Month To Date and Year To Date. I tried a Specified group on the ondate field, but CR is not allowing me to select between Calculated Month start or Calculated Year start.
The trouble is it does not have to be the CurrentDate. For example the User selects 4/25/2005. The report wants all dates between 4/1/2005 and 4/25/2005 in one section all dates 1/1/2005 to 4/25/2005 in the next section. Can anyone help?
I have a report that asks the user for a Parameter called Date. I would like to create a group on this {?Date} so it will be Month To Date and Year To Date. I tried a Specified group on the ondate field, but CR is not allowing me to select between Calculated Month start or Calculated Year start.
The trouble is it does not have to be the CurrentDate. For example the User selects 4/25/2005. The report wants all dates between 4/1/2005 and 4/25/2005 in one section all dates 1/1/2005 to 4/25/2005 in the next section. Can anyone help?