all groups > sql server reporting services > december 2005 >
You're in the

sql server reporting services

group:

Changing Report's Datasource


Changing Report's Datasource Mike Collins
12/14/2005 12:50:09 PM
sql server reporting services: I have one report that I want to have the ability to use different stored
procedures...depending on the the user's criteria they want to see. Is there
an RS method that I can use to change the stored procedure that a report is
RE: Changing Report's Datasource Wayne Snyder
12/14/2005 2:42:52 PM
ALthough I have never tried this,,, you could create a single SP which calls
the other SPs based on the user... OR
in the data set you can put the T-SQL IF statement to choose the SP..

I suspect that the SPs need to return the same result sets however...


--
Wayne Snyder MCDBA, SQL Server MVP
Mariner, Charlotte, NC

I support the Professional Association for SQL Server ( PASS) and it''s
community of SQL Professionals.


[quoted text, click to view]
AddThis Social Bookmark Button