Hide heading based on Data values

I have a column called Discount which shows the discounts for each data line.

If ALL (not some) of the lines have a zero discount then I would like to hide the group heading field as well as the data fields. How can I do this?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 8:51PM
    make the report a 2 pass report use a variable to get the sum of the field on the first pass
    write code in the obp event of the header and master data band to hide the memoviews
    on the second pass if the variable is > 0
    ie if engine.finalpass memoviewname.visible = (var1 > 0);

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.