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

Drawing Object ???

Status
Not open for further replies.

takume

Programmer
Mar 15, 2004
9
HK
Hi all expert..i have some questions about the report layout and formula (may be not sure)

1. Are there any CheckBox control in Crystal Report ? I can't find it ??

2. If not CheckBox control but i am wondering how i can present the same things ? I am thinking to use the Box object but how can i manipulate it filled or not ?? Anyone have such experience ? Thanks !!
 
1. No, there is no Checkbox control.

2. There is a work around. Create a formula:

If {boolean} = true then 'o' else 'x'

Change the item in bold with your boolean field, or your true/false staement. Place this field on the report and change the font to "wingdings". This will show either an empty box or a box with a cross in it.

Hope this helps...

Reebo
UK

Please Note - Due to current economic forcast and budget constraints, the light at the end of the tunnel has been switched off. Thank you for your cooperation.
 
If you want to show a check mark you can use the following:

Create a formula:
if {table.field}//replace with your field
=
"your condition" //replace with your condition
then
chr(252);

Now place this formula in the desired location and change the font to wingdings.

This will show you a check box in where your condition met otherwise it is just going to be blank.


Kchaudhry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top