문제

I am trying to create a report using Microsoft SQL Server Report Builder where a Radio button should be displayed in the parameters list for some of the values in another dropdown(parameter) and should be hidden for other values in that dropdown. If I select the radio button parameter to be hidden, it gets hidden for all values. How do I hide it for only some values and display for all others?

도움이 되었습니까?

해결책

The "out of the box" SSRS parameter interface won't let you conditionally hide parameters. You can either build your own interface to collect parameters or use cascading parameters, with a drop down, indicating that the parameter isn't needed.

To use cascading parameters, make your radio box parameter comes later in the parameter list than the dropdown on which it is dependent. Change from a radio box (boolean) to a drop down list. Have it select it's values from a dataset. This dataset can use the first parameter, and if the first parameter doesn't require the radio box, then it should only return "Not Applicable" or a similar value.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top