Print Page | Close Window

how to use Unicode values in crystal rpt formula

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=7641
Printed Date: 01 May 2024 at 6:11pm


Topic: how to use Unicode values in crystal rpt formula
Posted By: joshimuralikris
Subject: how to use Unicode values in crystal rpt formula
Date Posted: 09 Sep 2009 at 10:59pm
Hi Experts,

i'm using this formula

if{MQM_USP_PatientQIDataElementValuesForReport;1.DataElementId}="PNM_38" then
  if{MQM_USP_PatientQIDataElementValuesForReport;1.DataElementValue}="" then
 chr(168)
else   if{MQM_USP_PatientQIDataElementValuesForReport;1.DataElementValue}="True" then
    chr(254)
    else
    chr(168)


to display the Ticked check box and blank check box depending on the condition.

by googling i came to know that firefox wont render the wingdings font, so i want to know how to use Unicode values equivalent to chr(168) and chr(254).

could any one plz help me out in modifying  this formula and replace the ascii characters with the unicode.

Thanks in advance

Murali...



Replies:
Posted By: joshimuralikris
Date Posted: 10 Sep 2009 at 10:35pm

Both 168 (◻◻) and 254 (☑☑) have an Unicode replacement.

have any one used the uni codes in the formula??  now i've these unicodes but when i use them in the formula, its saying error in formula..




Print Page | Close Window