2 Replies Latest reply: Jun 15, 2017 3:08 PM by Bruce Chitiea RSS

    Protecting a multi-line "Detail" block across a page break

    Bruce Chitiea

      MONARCH 12

      Q: Is there a way to preserve a multi-line detail block across a page break/page header?

       

      I'm trapping a report where each "detail" block comprises four lines. Ideally, I template the entire block and trap from Line #1, and this does work perfectly. Except. When the block splits over a page break and page header, the lines below the page header are "lost".

       

      Monkeying with the Ignore Page Break, Page Length, and Page Header templates make no difference.

       

      My work-around is to trap Line #4 as the Detail line, then append Lines #3 to #1 in ascending order.

       

      Appreciate your thoughts,

       

      Bruce Chitiea

      SafeSectors, Inc.

        • Re: Protecting a multi-line "Detail" block across a page break
          Grant Perkins

          Bruce,

           

          If you create a Page Header template the lines it contains become "invisible" when Monarch is seeking out Detail templates and should give you the functionality you need IF the report dos not attempt to introduce any blank lines just before a page break or after a page header.

           

          Likewise if it sometimes re-introduces column headers that might not fit well with a page header applied to every page you may have additional challenges.

           

          In those situations you may need to consider some of the less well known techniques that can help. It's not always easy to describe them generically so try the Page Header template first and let's take it from there.

           

           

          Grant

            • Re: Protecting a multi-line "Detail" block across a page break
              Bruce Chitiea

              Grant:

                   Page Header "invisibility" is my understanding as well. However, my defined Page Header template, which includes the column headings above the Detail bands, does NOT include the blank line separating the column headings from the Detail bands.That may be a "duh".

                   I'll include the blank line in the Page Header Template, see what happens, monkey around with multiple-line advanced options if required, and report back.

               

              Thanks much, Bruce