Hi there,
if you are wanting a conditional checkbox on your report, here is a solution that should work for you.
1. Create the formula:
//Where "þ" is under the font Wingdings as ALT+0254 (a checked checkbox),
//and "¨" is under the font Wingdings as ALT+0168 (a blank checkbox).
if {file.field} = 1 then "þ" else "¨"
2. Insert this formula in the section where the checkboxes are required.
3. To get the correct font and character, go to Start | Programs | Accessories | Character Map
and switch the font to Wingdings.
4. Find the checkbox (ALT+0254), highlight and copy it, and then paste it into the formula. The same can be done for the empty checkbox character (ALT+0168).
Note: If the Character Map option is not available under Start | Programs | Accessories, then it was not loaded during the initial installation of Windows. The Character Map is loadable on all platforms of MS Windows, and can be loaded after with the Windows CD.
Simply go to Control Panel | Add/Remove Programs and select Windows Setup. The Character Map option is located under Accessories. Enable this option, select OK and restart your PC.
Hope this helps Eileen McEvoy
Crystal Reports Consultant and Trainer
emcevoy@crystalconsulting.ca