Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Dynamically binding data to body of Report (.rdl) page (SSRS)

$
0
0

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


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>