How do I best display CheckBoxes in SQL Server Reporting Services?

前端 未结 8 467
北荒
北荒 2021-02-01 15:37

One of the many quirks of Reporting Services we\'ve run across is the complete and utter lack of a CheckBox control or even something remotely similar.

We have a form th

8条回答
  •  离开以前
    2021-02-01 16:20

    I just wanna share the idea on this blog. SSRS: How to Display Checkbox on Report

    1. First create a textbox
    2. Then change the font family to Wingdings
    3. Insert an expression on the textbox and write this expressions.

      =IIF(Fields!Active.Value,chr(254),"o")
      

      Fields!Active.Value could be anything from your query that should return a boolean value 1 or 0.

    4. Then click Preview and see the checkbox ;)

    More styles can be selected on the blog that I shared above.

    Here is an example of my output

提交回复
热议问题