Quantcast
Channel: SQLServerCentral » Reporting Services » Reporting Services » Latest topics
Viewing all articles
Browse latest Browse all 2791

Missing Parameter

$
0
0
Hi,I am having a problem with SSRS giving me the following error.The 'startdate' parameter is missing a valueThis param in SSRS is set to accepting NULL and hidden.In the Stored Proc I set this as shown below.[code="sql"]ALTER PROCEDURE [dbo].[USP_Report_Vacancy_Monitoring_Wards] @month VARCHAR(MAX), @year VARCHAR(MAX), @startdate DATE, @enddate DATE, @fp VARCHAR(MAX)ASSET @fp = (SELECT MAX(FYMonthNumber) FROM dbo.DmDate WHERE [MonthName] = @month AND [Year] = @year)SET @startdate = (SELECT MAX(FirstDayOfMonth) FROM dbo.DmDate WHERE [MonthName] = @month AND [Year] = @year)SET @enddate = (SELECT MAX(LastDayOfMonth) FROM dbo.DmDate WHERE [MonthName] = @month AND [Year] = @year)[/code]Does anyone know why this might be happening?Thanks,Paul :-D

Viewing all articles
Browse latest Browse all 2791

Trending Articles