Articles in this section

How to Add a Check Box to a Table in Bold Reports Report Designer

Published:
Updated:

This article explains how to display a check box in a tablix (table) report by using the Wingdings font and an expression. The approach allows report designers to dynamically show a checked or unchecked box based on dataset values. Follow the below simple guidelines on how to achieve this.

Steps to Add a Check Box to a Table Report

Step 1: Select the Tablix Cell

  • Select the tablix cell where the check box should be displayed.
    image.png

Step 2: Configure the Font Style

  • Open the PROPERTIES pane and set the font style to Wingdings. The Wingdings font provides the symbols required to represent checked and unchecked states.
    image.png

Step 3: Configure the Check Box Expression

  • Select table cell and set the following expression to the check box report: =IIF(Fields!OrderQty.Value > 5, Chr(254), "o")
Expression Component Description
IIF() Evaluates a condition and returns one value when the condition is true and another value when it is false.
Fields!OrderQty.Value > 5 Checks whether the OrderQty field value is greater than 5. This determines whether a checked or unchecked box should be displayed.
Chr(254) Returns a Wingdings character that appears as a checked box when the cell font is set to Wingdings.
"o" Displays an unchecked box symbol when rendered using the Wingdings font.
  • This expression evaluates the dataset value and returns a Wingdings character. When the condition is met, Chr(254) displays a checked box.
    image.png

Step 4: Preview the Report

  • Preview the report to verify that the check boxes are displayed correctly according to the dataset values.
  • When the report is rendered:
    • Records with an OrderQty value greater than 5 display a checked box.
    • Records with an OrderQty value of 5 or less display an unchecked box.
  • This enables users to quickly identify records that satisfy the specified condition without reviewing the numeric values.
    image.png

Wingdings rendering depends on font availability and browser support. If the symbol does not display correctly in your environment, consider using an image-based checkbox instead.

Related Articles

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied