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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CheckBox Display in Crystal Report 1

Status
Not open for further replies.

takume

Programmer
Mar 15, 2004
9
HK
Hi Mkoslof, Thanks for your reply about my problems. However, i don't know why it cannot display the checkbox and uncheck box ??? The following is my code of a formula field. I tested field1 is true by output some normal text but it cannot output Chr(254) and chr(168) ?? why ??

if {filed1} = true then
formula = chr(254)
else
formula = chr(168)
end if
 
Did you change the font to Wingdings?

Also, you didn't respond to a post, you created a new post.

-k
 
I've 'cheated' at creating Crystal checkboxes by drawing a box and then conditionally printing an X in them.

Is there a better way?
or a way to print the check mark?
 
This is something I have wanted to do in the past (although not now) and so I tried synapsevampire's suggestion and it worked fine. You just need to change the field font to wingdings
 
Another formula would be:

If {table.field} = "something" then chr(254) else 'x'

Change the font to wingdings

This will create a check mark/cross with a box around it.

Kchaudhry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top