Hi
I'm using CR 8.0
I have a report with several subreports and I would like it to show me values included in a date range. The values should be within yesterday 5.00 pm and today 5.00 pm.
I think I need a parameter to do this, but how? I've created 2 variables to get the begin and end dates, ie
@yesterday:
WhilePrintingRecords;
DateTimeVar yesterday;
yesterday:= DateTime(Year(CurrentDate),Month(CurrentDate),Day(CurrentDate-1),17,00,00);
@today
WhilePrintingRecords;
DateTimeVar today;
today:= DateTime(Year(CurrentDate),Month(CurrentDate),Day(CurrentDate),17,00,00);
How do I get the report to show the values in this date range, and the subreports as well?
Thanks
Oona
I'm using CR 8.0
I have a report with several subreports and I would like it to show me values included in a date range. The values should be within yesterday 5.00 pm and today 5.00 pm.
I think I need a parameter to do this, but how? I've created 2 variables to get the begin and end dates, ie
@yesterday:
WhilePrintingRecords;
DateTimeVar yesterday;
yesterday:= DateTime(Year(CurrentDate),Month(CurrentDate),Day(CurrentDate-1),17,00,00);
@today
WhilePrintingRecords;
DateTimeVar today;
today:= DateTime(Year(CurrentDate),Month(CurrentDate),Day(CurrentDate),17,00,00);
How do I get the report to show the values in this date range, and the subreports as well?
Thanks
Oona