Quantcast
Channel: SQL Server Reporting Services, Power View Forum
Viewing all articles
Browse latest Browse all 4035

SSRS calling Stord Procedure with Multi-value option

$
0
0

Hi there
I am creating a ssrs  Report using a Stored procedure
Which takes 4 parameters
@clientName varchar,
@productId int,
@startDATE,
@EndDATE

I wanted client to select more than I product so using  multi-value option  in my parameter properties for @ProductId  and available values is coming from a query so from the Ui I get a dropdown box with check box option to select
But if I select more than one option  the sql throw an error saying too many arguments

Its because the @productid mulity-value select is separating value with a “,” eg: Usp_RefLabCaseoerAllByTest  @ClientName,1,2,3,4,5,6,7,8,@startDate, @EndDate
How can I over come this issue
Appriciate all your help
Thanks


Viewing all articles
Browse latest Browse all 4035

Trending Articles



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