Hi,
I have stored procedure which returns different reprot based on some parameter value like below. Now i need to just bind dynamic result to body of Report (.rdl) in SSRS (where Header and Footer are same). Please help me regarding this.
Thanks in Advance :)
ALTER PROCEDURE EXAMPLEVENDOR
@VENDORNAME VARCHAR(120)
AS
BEGIN
-- CALLING DIFFERENT REPORT BASED ON PARAMETER value
IF (@VENDORNAME = 'REPORT1')
EXEC VENDORMASTERREPORT
IF (@VENDORNAME = 'REPORT2')
EXEC STAGGAUGREPORT
END