Report Header

hmigneronhmigneron Member Posts: 5
Hi,
I am designing a report and I need to have a header that appears on every page of the report except for the first one.
I use the PrintOnEveryPage property to get the header on every page, but I can't seem to figure out how to remove it from the first page.

Is there a property that does something like that? If not, does anyone know of a way to do that?

Thanks!

Comments

  • Revolution1210Revolution1210 Member Posts: 161
    hmigneron wrote:
    Hi,
    I am designing a report and I need to have a header that appears on every page of the report except for the first one.
    I use the PrintOnEveryPage property to get the header on every page, but I can't seem to figure out how to remove it from the first page.

    Is there a property that does something like that? If not, does anyone know of a way to do that?

    Thanks!

    THis code should do the trick
    CurrReport.SHOWOUTPUT(CurrReport.PAGENO > 1);
    

    Place it in the OnPreSection() trigger of your header section.
    Ian

    www.NextEqualZero.com
    A technical eye on Dynamics NAV
Sign In or Register to comment.