I'm not a programmer, but I play on on TV. I've got a report (CR v11) that uses a formula to change string field to date (@Yesterday). Then selection formula that says {@Yesterday} = CurrentDate -1
The reports run against a SP, which looks like this:
When I run the report, it throws an error that the sp expects a parameter which was not supplied. I'm know I'm doing something (more than likely multiple somethings) wrong, but I don't know what it is. Your help is sincerely appreciated and severely needed.
The reports run against a SP, which looks like this:
Code:
ALTER PROCEDURE [dbo].[_spNumbers]
@Yesterday datetime
AS
SELECT 1,2,3
FROM tbl
where tbl.user = 'abc'
AND tbl.date = @Yesterday
When I run the report, it throws an error that the sp expects a parameter which was not supplied. I'm know I'm doing something (more than likely multiple somethings) wrong, but I don't know what it is. Your help is sincerely appreciated and severely needed.