I have a string report parameter with Multi-value checked. The multi-value list generated does not contain quotes around each string values. Is there a simple way to accomplish this I want to include this list in the IN of the WHERE clause.
Is your query string an expression, i.e. starting with = sign If so, I think you are correct that the entire list is returned within single pair of quotes. However, when the the query string is not an expression, WHERE column IN (@param) worked just fine.
Thanks! I was trying to use the Parameter in an expression for a dataset, but none of that is necessary, at least in my case. IN (@ParmName) works just fine.
I am actually trying to execute a stored procedure to populate the report. So the dataset type is Stored Procedure instead of Text. Therefore the parameters are passed in the expression format as you said.
June CTP - Multi Value Parameter
Jeffrey B. Holtz
Raj
angrycoder2
Is your query string an expression, i.e. starting with = sign If so, I think you are correct that the entire list is returned within single pair of quotes. However, when the the query string is not an expression, WHERE column IN (@param) worked just fine.
Matthew Mitrik MSFT
Thanks for your help.
Todd Potter
WHERE column IN (@param) works.
The only quotes that are generated are 'value1, value2'
where as the following are required 'value1', 'value2'
Is there a special setting somewhere to generate these quotes
Help please
Dmitriy Nikonov MSFT
I am actually trying to execute a stored procedure to populate the report.
So the dataset type is Stored Procedure instead of Text.
Therefore the parameters are passed in the expression format as you said.
How do I pass them otherwise
Thanks