Suppress Main report page header in sub report RRS feed

  • Question

  • User-797751191 posted


      I have Main Report and subreport in Report Footer (h) of Main Report . I don't want to print Page Header of Main Report in Sub Report


    Thursday, March 12, 2020 2:31 PM

All replies

  • User281315223 posted

    You might be able to take an approach similar to the one mentioned here, which involves defining a variable that could toggle when to suppress a child header, specifically around the use-case of printing:

    • Insert a new formula in the first section of the report (report header a): global booleanvar no_header := false;
    • Insert a new section right above the subreport section with effectively 0 height.
    • Insert a new formula in this section: global booleanvar no_header := true;
    • Insert a new formula in the subreport section: global booleanvar no_header := false;
    • In your page header conditional suppression formula enter formula: global booleanvar no_header;

    There are a few other alternative approaches mentioned in that thread, but hopefully something will work for you.

    Thursday, April 2, 2020 4:59 AM