RTC Report page at end of report repeating header

GarethGareth Member Posts: 17
edited 2013-02-04 in NAV Three Tier
Hi.

I am developing an Invoice layout which contains a Page Header, Body and Page Footer. The Body contains a Table within a List. The Table contains the invoice lines and totalling - it has one Group which is grouped on the Invoice Number - "Page break at end" is ticked for the Group.

The Preview looks fine but when I Print or go into the Print Layout (or output to PDF) I get an extra page of report at the end that contains the Header/Footer sections again (no lines). Ie. a one page invoice prints two pages, five one page invoices printed together prints six pages. About this Report just has a line for each invoice line (ie. no additional data) - this also contains the header information which is displayed on the Page Header via Code.GetData logic.

What have I tried?
- I've shrunk the width of the report to fit well within the PageSize/InteractiveSize/Margins, however normally if this is a problem I'd expect an extra page after each invoice, not just one on the final page
- removing the "Page break at end", however then lines from multiple invoice appear on the one invoice
- totally removing the Page Footer section, however this made no difference

Any thoughts welcome.

Regards, Gareth.

Answers

  • Jatin_PatelJatin_Patel Member Posts: 200
    Apply background color to list and table and check that it is printed on last page or not?
    Jatin Patel
    Microsoft Dynamics NAV Consultant
    Jatin's Blog
  • GarethGareth Member Posts: 17
    You are brilliant Jatin - I wouldn't have thought of that.

    I changed them both to different colours and found the List was being printed on the last page - it was slightly overhanging the bottom of the Table - I shrunk the list to the same height/width as the Table and this resolved the problem.

    Thanks very much, Gareth.
  • awarnawarn Member Posts: 261
    FYI - I had a similar issue, and found that the list was stretching to the second page. But I had two tableboxes in the RDLC, one being the box containing the logos, and it was below the main (data) tablebox.

    I moved it on top of the main tablebox and the problem went away. I suspect the space between the two tableboxes was causing the same issue to happen.

    Thanks!
Sign In or Register to comment.