I have a parameter where the user can select one or more options from a dropdown list of District Names, the value returns the District's code number. I want to then take whatever they selected and populate a text box at the top of the report. I already have some parameters on the report that I am using in text boxes (start and end date range values that the user inputs), and they work just fine, but they are single value.
First issue:
When I try the same in the expression as the date ranges with the multi-select parameter, only the code for the first District is returned. Is there a way to return multiple values?
Expression: =Parameters!DistrictCodes.Value(0)
Second issue:
I tried using Switch to convert the District Code to the District Name but even though I didn't receive any errors in the expression, when I ran the report, selected a District, only '#Error' appeared.
Thank you for any assistance!
Sande
First issue:
When I try the same in the expression as the date ranges with the multi-select parameter, only the code for the first District is returned. Is there a way to return multiple values?
Expression: =Parameters!DistrictCodes.Value(0)
Second issue:
I tried using Switch to convert the District Code to the District Name but even though I didn't receive any errors in the expression, when I ran the report, selected a District, only '#Error' appeared.
Thank you for any assistance!
Sande