Conditional Hide Function on Reports

jasonandmaryjasonandmary Member Posts: 21
Hi all,

Can someone guide me on the line to hide this line if a value on another variable is zero? Thanks in advance.
For example, if MD Discount = 0, I do not want it to appear on the report.

Comments

  • NabucoNabuco Member Posts: 65
    This example shows how to use the SHOWOUTPUT function in the OnPreSection Trigger of the section in order to print a section only when the field called Amount is different from 0.


    CurrReport.SHOWOUTPUT(Amount <> 0);

    C/Side reference can sometimes be of great help :D
Sign In or Register to comment.