Checkbox in Crystal Report


In this article, you will know about Checkbox in Crystal Report. You can get each steps for Checkbox in Crystal Report to be performed in order to execute it well. Please find Checkbox in Crystal Report and its code.

Abstract :


The following Example shows how to Place a Check Box in Crystal Report

Steps to be performed :



1. Expand Field Explorer

2. Go To Formula's-> Right Click on that And New Formula

3. Give a Name to that Formula Editor

4. Now Editor will be displayed

5. In that Editor place the below Formula

if{Table.FieldName} = true Then
Chr(254)
Else
Chr(168)


6. Close the Editor it will show save Prompt save the formula

7. Drag and drop your formula field to your crystal report
Right Click to format Object for that Formula-> Select Format Object

8. Go to Fonts Tab and Set Font as 'Wingdings' and Press Ok

9. Now check it will display if value is true then checked check box else un-checked checkbox

Hope that will help some on..


Attachments

  • CheckBoxinCrystalReport (30225-8855-CheckBoxInCrystalReports.zip)
  • Comments

    Author: Deepika Haridas08 Jul 2009 Member Level: Gold   Points : 1

    Hi,

    I have reduced points as there was no formatting. Use proper formatting while posting the Resource. I have formatted it.

    Hope from next time onwards you'll take care of it.

    Regards,
    Deepika
    Editor

    Guest Author: rajesh23 Feb 2012

    This dot net spider site gives a excellent information for the users.

    Guest Author: pallavi07 May 2012

    i m doing the same as you tell, in crystal report's main report preview it show as expected but when i run the application it shows 'þ' for checked and '..' for unchecked. Please help me.



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: