When Page Headers Attach in V14

Michele_21504
Michele_21504 New Altair Community Member
edited January 2017 in Community Q&A

Hello,

We recently upgraded from Monarch 10.5 to V14.  One of my old frequently used tricks was when my template fields were interrupted and spanned across two pages because of the page header, in 10.5 I would to define the page header without a trap/fields and it would ignore the page header and all would be well.  I tried this in V14 but it is not behaving the same way.  Can someone tell me if it works differently or know how I can get around this? Thanks for the help!!!

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited January 2017

    Hello M Clark,

     

    That should still work - a multi-line detail trap should break nicely over a page header if you have defined a page header trap. You don't need to define any fields in the Page Header, although it's often useful to grab a page number or report run date if there is one.

     

    A new feature in v14 is the Exclusion Trap - if you can define the page header block with a trap and mark it as an Exclusion template, then Monarch will ignore those lines completely.

     

    Which approach is best depends on your data - if you'd like us to take look, we should be able to diagnose it from a screenshot or small sample.

     

    Best wishes,

     

    Olly

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited January 2017

    Hello M Clark,

     

    That should still work - a multi-line detail trap should break nicely over a page header if you have defined a page header trap. You don't need to define any fields in the Page Header, although it's often useful to grab a page number or report run date if there is one.

     

    A new feature in v14 is the Exclusion Trap - if you can define the page header block with a trap and mark it as an Exclusion template, then Monarch will ignore those lines completely.

     

    Which approach is best depends on your data - if you'd like us to take look, we should be able to diagnose it from a screenshot or small sample.

     

    Best wishes,

     

    Olly

    Well I tried the exclusion template but it didn't make a difference unless I defined it incorrectly.

     

    Here is a screenshot of the issue where normally there is no issue picking up the second line of the detail but once in a while the page header will get in the way.

    image

     

    And this is how I tried to change the definition of the page header template using the exclusion trap.

     

    image

     

    Do you see anything?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited January 2017

    Well I tried the exclusion template but it didn't make a difference unless I defined it incorrectly.

     

    Here is a screenshot of the issue where normally there is no issue picking up the second line of the detail but once in a while the page header will get in the way.

    image

     

    And this is how I tried to change the definition of the page header template using the exclusion trap.

     

    image

     

    Do you see anything?

    It seems that there might be one extra blank line after the Page Header which is causing the issue. You could try extending the PH template to 8 lines not 7?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited January 2017

    It seems that there might be one extra blank line after the Page Header which is causing the issue. You could try extending the PH template to 8 lines not 7?

    I thought that worked. It made it better but further down, it had an issue.  Hmmmmm.....interesting.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited January 2017

    I thought that worked. It made it better but further down, it had an issue.  Hmmmmm.....interesting.

    Okay looks like changing the trap line in the detail from a non blank to something specific helped.  Thank you Olly.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited January 2017

    I thought that worked. It made it better but further down, it had an issue.  Hmmmmm.....interesting.

    It might be helpful to Exclude all the blank lines as well - unless you are using these in Advanced Options to stop trapping multi-line fields. If you have irregular page header lengths, you might need a two-model approach, firstly grabbing whole lines to prepare a regularised report as a test export from a summary, then parsing that in a second model.