Hi !
We have CR 9 and Crystal Enterprise 9.
We now have two reports against an SQL Server database.
There they have written a stored procedure, which I use
in my reports.
The procedure takes two parameters:
@FromDate and @ToDate (both DateTime).
My problem is that I want to schedule the reports in Enterprise
to run weekly and monthly.
What can I do to get the two parameters to always content the last monday (@FromDate) and
the last sunday (@ToDate) for the weekly report, and first and last date of the previous
month for the monthly report ?
Thanks.
/Goran
We have CR 9 and Crystal Enterprise 9.
We now have two reports against an SQL Server database.
There they have written a stored procedure, which I use
in my reports.
The procedure takes two parameters:
@FromDate and @ToDate (both DateTime).
My problem is that I want to schedule the reports in Enterprise
to run weekly and monthly.
What can I do to get the two parameters to always content the last monday (@FromDate) and
the last sunday (@ToDate) for the weekly report, and first and last date of the previous
month for the monthly report ?
Thanks.
/Goran