I have a shared dataset built around a stored procedure that accepts two date parameters. I also have a report which references that dataset and has two date parameters added to it. When I run the report I am presented with two date selection boxes, but the dates selected don't seem to be affecting the data being returned. The parameters have the same name in both the report (start_date, end_date) and the dataset (@start_date, @end_date). Is there another way I have to associate them? The query requires those parameters when run in SSMS, and it runs correctly when they're supplied. What am I doing wrong?
↧