I have a parameter that allows multiple values, and is populated by a call to a stored procedure. In my report, I want the dropdown to have the first returned value selected by default. In the Default Values section of the Parameter Properties, I selected the "Specify values" option and provided an expression similar to:
=First(Fields!MyParamField.Value, "SP_ParamField")
When I preview my report, I get an error saying that fields cannot be used in report parameter expressions.
Setting the first value returned in the dataset as the default for a parameter seems like a natural thing to want to do. What is the preferred method?
- Mark Z.