Skip to Content
0
Former Member
Aug 05, 2010 at 06:56 PM

Converting True or False to a Check box

187 Views

I'm trying to use the following formula to create a checkbox in Crystal

Stringvar Formula;

If not(isnull({@denied reason})) Then

//'Display the checkbox of your choice here'

Formula = Chr(254)

Else

//'Display empty checkbox'

Formula = Chr(168);

Chr(254) =True and Chr(168)=False then the formula is formatted to Wingdings to show checkboxes.

The problem I'm facing is, when I format the formula it gives me a bunch of other symbols along with the checkbox.

Could someone help with this issue.

Thanks!