Display Parameter(Multi-value) in Report

后端 未结 4 1415
终归单人心
终归单人心 2021-01-31 01:24

Can anyone tell me how to display all the selected value of my multi value parameter in SSRS report. When giving parameter.value option it gives error.

4条回答
  •  猫巷女王i
    2021-01-31 01:54

    I didn't know about the join function - Nice! I had written a function that I placed in the code section (report properties->code tab:

    Public Function ShowParmValues(ByVal parm as Parameter) as string
       Dim s as String 
    
          For i as integer = 0 to parm.Count-1
             s &= CStr(parm.value(i)) & IIF( i < parm.Count-1, ", ","")
          Next
      Return s
    End Function  
    

提交回复
热议问题