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 1:46AM
    Set check box state in the OnBeforePrint event of check box object
  • edited 1:46AM
    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