NewPage and transheader

Activ01Activ01 Member Posts: 18
Hi,

I need to have my Transheader on every pages but the first one.
When Im using CurrReport.NEWPAGE function the transheader doesnt appear (cf : http://www.mibuso.com/forum/viewtopic.php?f=23&t=7512&hilit=printoneverypage+currreport.newpage)

So I made 2 Headers sections, one for the first page (PrintOnEveryPage No) and one for every pages (PrintOnEveryPage Yes).

But the 2 Headers are printed on every pages ...
IF esta='' THEN
esta:="Edition Special Rubric".establishement;

IF "Edition Special Rubric".establishement<>esta THEN BEGIN
CurrReport.NEWPAGE;
esta:="Edition Special Rubric".establishement;
END;

Any tips ??

Comments

  • jspoppjspopp Member Posts: 54
    Hi, try this code in the OnPreSection trigger of the section you want to toggle:

    IF CurrReport.PAGENO = 1 THEN
    CurrReport.SHOWOUTPUT(FALSE);

    Good luck!
  • Activ01Activ01 Member Posts: 18
    It seams like it works just fine !


    Thanks, much appreciated !
  • jspoppjspopp Member Posts: 54
    Glad I could help you with that one!
Sign In or Register to comment.