Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using a Special Character 1

Status
Not open for further replies.

Bennie47250

Programmer
Nov 8, 2001
515
US
Using Crystal 7.0

There is a character that shows “greater than or equal to” This character is basically a underlined > sign.

I’m using a formula to display a title in the body of a report. Any thought on how I can use this character?
 
Where is this character that you speak of?

You can use any TT font within Crystal (basically any Windows program), but you need to know the font and it's ASCII value, or copyit in from whatever program you have it in, or within the Windows CHARMAP program and paste it in.

In general you use something like:

"This is " & chr(156) & " 254 avaerage"

The chr(156) would be the ASCII character.

You can also paste it all into a text object.

-k
 
sny,

As usual your right on target however, the character I'm wanting to use is an extended ASCII code of 242 and Crystal does not display it as the ? underlined.

MS Word shows this has a Unicode hex value of 2265. Can this be used instead of ASCII?


 
Chr(179) is the proper number to get the ?, but since I'm using a formula to display the sentence with this character, the entire formula has to be formatted with the Symbol font (right) and then it looks like some Russian and then the ?.

My formula right now is

If GroupName ({@SBU }) = "RED" then "Goal is >= $350"
else If GroupName ({@SBU }) = "Blue" then "Goal is >= $145"
Else "Error"
 
Well, you do add a level of complication, however you can just drop formulas into a text object.

Change your formula to:

If GroupName ({@SBU }) = "RED" then totext(350,0,"")
else If GroupName ({@SBU }) = "Blue" then totext(145,0,"")
Else "Error"

Create an additional formula of:

chr(179)

Now in the beginning on the text object use your standard font and place:

Goal is <be sure to add a space at the end>

Now drop in the chr(179) formula, and format it to synmbol, add a space, and then drop in your modified original formula using your standard font.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top