Radio buttons in SSRS Report

前端 未结 7 1173
一个人的身影
一个人的身影 2021-01-19 01:18

How do I add radio buttons as my parameter type in SSRS reports?

Thanks in advance, Anna

7条回答
  •  长发绾君心
    2021-01-19 01:45

    It can be done, but only for a boolean parameter - i.e. you can only have True/False, not a custom list of radio options.

    Add a parameter to your report of type 'Boolean'. 'Available Values' should be set to 'Non-queried' - but make sure to leave the grid of values completely blank.

    In the 'Default Values' section, again choose Non-Queried - but in the expression box type 'True' or 'False' (i.e. dependant upon your desired default value).

    The parameter should now render as a radio button - with the option of True/False.

    Note, this is all with the Report Designer in BIDS - I haven't tried it via the Report Builder click-once app.

提交回复
热议问题