Search code examples
crystal-reports

How can I show checked CheckBox in Crystal Report


I have a parameter field 'EL' and formula field 'FormulaEL'. I write a formula as follows:

 if {?EL}=1 then chr(254)

In preview the report shows checked CheckBox. but the problem is that if I run the program it is displayed as ( þ ) , not as checkedbox. How to solve the problem so that it is displayed as checked CheckBox?


Solution

  • Simple, a checkbox just evaluate to 'r' and set the font in the report for that field to webdings.

    You could go a step further and use an image of a check instead, and conditionally surpress it when it's not required.