Options

Problem with TransHeader

KappeKappe Member Posts: 64
Hello

I will use a TransHeader in an invoice Report.
In a OnPreSelection I use a CurrReport.NewPAGE() in a If term.
When the If term is true and the NewPage() takes place, no Header or trans Header is printed.
I also tested a Header with the printoneverypage option = true;

Kappe
___________________________________________

Kappe

Comments

  • Options
    kinekine Member Posts: 12,562
    There are more hints than one:

    1) TransHeader is called only when newpage is between two sections of same data item and same type (for example two body section for one dataitem).

    2) If you want to use printoneverypage, you need to set it on all headers of the dataitem
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.