Friends,
I have created two datasets using two different stored procedures for a SSRS report, one fetches "summary" records when the stored procedure executes and other dataset fetches "detail" records.
The report has 4 parameters @beginDate, @endDate, @renewalDate, @level
. When the user populates all the parameter @level
, they get to select "summary" or "detail" from a drop down.
In the report body I have created two different tables one for summary records and one for details records (cannot do drill through or sub reports) to hold the dataset values
Based on the parameter @level = "summary"
or "detail"
, how can I execute the correct stored procedure for the dataset ?