Selecting fields in areport at runtime

Hi All,

In Req’option form am taking a Checkbox field , if i select tht one , the field shd appear in the report in its Preview mode…

Plz help me in this Issue…



I suggest that you create two alternate header and body sections for this report, one Header/Body combination contains the field, the other does not.

In the OnPreSection of the sections you add the following code:

CurrReport.SHOWOUTPUT(BoolValue); // This one shows when checkmark is ticked


CurrReport.SHOWOUTPUT(NOT BoolValue); // This one shows when checkmark is not ticked

depending on which section to print under which condition.