If you're using the param straight in the dataset query, use following syntax:
... WHERE SomeField IN (@YourParam)
SSRS is able to handle the incoming array of values in that way.
However, if you are passing the parameter into a stored procedure then it's a different story. As Dave already mentioned, in that case you're getting a comma-delimited string and need to take that into account.
Here's an article with some more details on that second option: [Reporting On Data From Stored Procedures (part 2)][1]
[1]: http://blog.hoegaerden.be/2009/11/21/reporting-on-data-from-stored-procedures-part-2/
↧