FlexReport - Tryng to Suppress Page Header on Report Footer Page

Posted by: mwebster on 11 September 2018, 3:19 pm EST

    • Post Options:
    • Link

    Posted 11 September 2018, 3:19 pm EST

    I have a need to suppress the page header on the Report Footer page. Cannot seem to make it work. I have tried the following code:

    If Page = Pages then

    Pageheader.Visible = false

    EndIf

    And placed it in various OnFormat and OnPrint events in the Expression editor but it does nothing. I have even tried setting PageHeader.Visible in the FooterOnFormat event. The header just prints normally. I was able to successfully suppress is on the ReportHeader using this code in the ReportOnFormat event:

    If Page =1 then PageHeader.visible = false

    Any suggestions?

    Mike

  • Posted 11 September 2018, 3:21 pm EST

    Forgot to note - I can make it work if I explicitly say If Page = 5 then pageheader.visible = false but I have no way of knowing how many pages the report may be at any given time.

  • Posted 11 September 2018, 4:05 pm EST

    Oops…solve the issue - found the setting in the Report Layout Options.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels