I am using SSRS 2008 R2 Report Builder 3.0 (10.50.4276.0)
I have simple set of data which has a persons Title and Name e.g. Mr Smith, Miss Jones, Doctor Foster
The report has a parameter where the user can select which records to show based on the matching titles (Mr, Miss, Doctor)
The Query for the report uses Title in (@Title) where @Title is the only parameter which can take multiple values
The report works correctly for any 1 value selected, but as soon as 2 or more values are ticked in the drop down, it fails.
I believe the parameter value is being passed into the query with a comma separating the values e.g. Mr,Miss which causes the IN statement to give an error, as the statement would be where Title IN ('Mr,Miss') which does not match any of the data values
The parameter value passed needs to be 'Mr','Miss' for the IN statement to work
What statement do I have to put in the report query to get it to select any of the data rows where the title matches any 1 of the selected values?
I have looked at many suggested solutions but none of them have enabled me to get past this issue
Thanks,
Brevan