In Sage X3 Crystal Reports, displaying a checkbox based on a database value may look like a simple requirement, but it can become challenging when the report needs to show a proper checked (☑) or unchecked (☐) checkbox instead of displaying values such as 1/0, Yes/No, or True/False.
A common requirement is to display a checkbox dynamically based on a field value. For example, if a database field contains 1, the report should display a checked checkbox, while if it contains 0, it should display an unchecked checkbox.
One simple and effective way to achieve this in Crystal Reports is by using the ChrW() function with Unicode characters.
ChrW() is a Crystal Reports formula function that returns the character corresponding to a Unicode character code.
The syntax is:
ChrW(Number)
Here, Number represents the Unicode value of the character that you want to display.
For example: ChrW(65)
Returns the character: A
The important point is that ChrW() can be used to display Unicode symbols that may not be directly available from the keyboard.
This makes it useful for displaying symbols such as:
- ☑ Checked checkbox
- ☐ Unchecked checkbox
- ✓ Check mark
- ✗ Cross mark
Important: Check the Font
One of the most important things to remember when using Unicode characters is the font. Even if the formula is correct, the checkbox may not display properly if the selected font does not support the Unicode character.
For example, instead of seeing: ☑
You may see: □ or another unsupported-character symbol.
Therefore, after creating the formula, check the font of the Formula Field. Fonts such as Arial Unicode MS, Segoe UI Symbol, or other Unicode-compatible fonts can be used depending on the Crystal Reports environment and printer/export requirements.
In this blog, we will understand how ChrW() works, how to create checked and unchecked checkbox symbols, and how to use them in Crystal Reports formulas.Recently, we received a requirement from one of our clients for a Material Requisition Slip screen. On this screen, there is a field called “As Issuance”, which contains four different options displayed as radio buttons. The user can select only one option at a time. Refer the below screenshot for your reference.
New Stuff: How to set parameters for processing Accounting interface in Sage X3

The client wanted the same functionality in the Material Requisition Slip report. The report should display all four options with checkboxes. The option selected on the screen should be displayed with a checked checkbox (☑), while the remaining options should be displayed with unchecked checkboxes (☐) along with their respective headings.
For example, if the user selects one option on the Material Requisition Slip screen, the corresponding option should appear as checked in the report, while the other three options should remain unchecked.
Below, we will go through the step-by-step process to achieve this requirement in Crystal Reports.
Step 01 – Add the Four Options
Open the report in Crystal Reports. First, add the four hardcoded options to the report, as shown in the screenshots below.

Step 02 – Create the Formula for the Checkbox
After adding the four options, we need to create a formula to display the checked and unchecked checkboxes. First, fetch the required field from SQL into the Crystal Report. Then, go to Formula Fields and create a new formula.
Here, the first option is “Issuance to Project/Production”, so we will first create the formula for this option. Click Formula Fields and create a new formula. Use the ChrW() function with the following Unicode codes:
ChrW(9745) // ☑ Checked box
ChrW(9744) // ☐ Unchecked box
Based on the value of the field, use the appropriate checkbox in the formula.
After creating the formula, place the formula field in the report and change its font to Segoe UI Symbol. This font supports the Unicode checkbox characters and ensures that they are displayed correctly. Similarly, create the same type of formula for the remaining three options. Refer to the screenshot below for your reference.

Step 03 – Save and Deploy the Report
Once all the required changes are completed, save the report and deploy it to the appropriate folder/server.
Step 04 – Verify the Report Output
Below is an example of the report output when “Issuance to Project/Production” is selected on the Material Requisition Slip screen.
In the report output, the checkbox corresponding to the selected option will be checked (☑), while the checkboxes for the other three options will remain unchecked (☐). This way, the report dynamically reflects the option selected by the user on the Material Requisition Slip screen. Refer to the screenshots below for the final output.

Displaying checkboxes in Crystal Reports does not require complex formatting or external images. By using the ChrW() function with the appropriate Unicode character code, we can dynamically display checked and unchecked checkbox symbols based on database values.
This simple approach can make Crystal Reports more user-friendly and professional, especially for forms, approval reports, checklists, and customized Sage X3 Crystal Reports.The key takeaway is: use ChrW() for the Unicode checkbox character, apply the correct condition based on your database value, and make sure the selected font supports the Unicode symbol.
About Us
Greytrix – a globally recognized and one of the oldest Sage Development Partners is a one-stop solution provider for Sage ERP and Sage CRM organizational needs. Being acknowledged and rewarded for multi-man years of experience and expertise, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third-party add-on development, and implementation competence.
Greytrix has some unique integration solutions developed for Sage CRM with Sage ERPs namely Sage X3, Sage Intacct, Sage 100, Sage 500, and Sage 300. We also offer best-in-class Sage ERP and Sage CRM customization and development services to Business Partners, End Users, and Sage PSG worldwide. Greytrix helps in the migration of Sage CRM from Salesforce | ACT! | SalesLogix | Goldmine | Sugar CRM | Maximizer. Our Sage CRM Product Suite includes addons like Greytrix Business Manager, Sage CRM Project Manager, Sage CRM Resource Planner, Sage CRM Contract Manager, Sage CRM Event Manager, Sage CRM Budget Planner, Gmail Integration, Sage CRM Mobile Service Signature, Sage CRM CTI Framework.
Greytrix is a recognized Sage Champion Partner for GUMU™ Sage X3 – Sage CRM integration listed on Sage Marketplace and Sage CRM – Sage Intacct integration listed on Sage Intacct Marketplace. The GUMU™ Cloud framework by Greytrix forms the backbone of cloud integrations that are managed in real-time for the processing and execution of application programs at the click of a button.
For more information on our integration solutions, please contact us at [email protected]. We will be glad to assist you.