Checkbox checked when false, How can I do it?

I have a report with a label and then a Yes and No and a checkmark in front of each, for example ^Yes No or Yes ^No. There is just one field in the dataset, it triggers the checkmark to on when true but in the case of "No" I need it to trigger when false.

How can I do that?

Comments

  • gpigpi
    edited 8:00PM
    Set check box state in the OnBeforePrint event of check box object
  • edited 8:00PM
    gpi wrote: »
    Set check box state in the OnBeforePrint event of check box object

    Thank you, I actually found an easier way.

    Unlink the checkbox from the datasource, then write an expression into the Expression property.

    For example:
    not <CheckRequestMain."DocAttached">
    

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.