Only last row in databand is printed on last page

Stimulsoft Reports.NET discussion
wilfredkruijsbergen
Posts: 9
Joined: Wed Feb 03, 2021 9:31 am
Location: Amersfoort

Only last row in databand is printed on last page

Post by wilfredkruijsbergen »

I have a problem printing a data band with the parameter Only Last Page set.

If report is multiple pages, with that parameter (Print on Only Last page and Print at bottom is True), the first row in the data band will not be printed on the last page.

Multiple pages, this is on the last page (Attachments: Last_PAge_Multiple_Pages.png)

One page, this is on the page (Attachments: Last_Page_One_Page.png)

The result I aim for: to print all rows in the data band only on the last page.

How can I fix this?
Attachments
Last_Page_One_Page.png
Last_Page_One_Page.png (2.74 KiB) Viewed 2139 times
Last_Page_Multiple_Pages.png
Last_Page_Multiple_Pages.png (2.37 KiB) Viewed 2139 times
Kind regards,

Wilfred
Lech Kulikowski
Posts: 7339
Joined: Tue Mar 20, 2018 5:34 am

Re: Only last row in databand is printed on last page

Post by Lech Kulikowski »

Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.
wilfredkruijsbergen
Posts: 9
Joined: Wed Feb 03, 2021 9:31 am
Location: Amersfoort

Re: Only last row in databand is printed on last page

Post by wilfredkruijsbergen »

This is a sample report.
Attachments
Sales_Invoice_Pdf_2022-02-18_10-20-37.mrt
(254.31 KiB) Downloaded 176 times
Kind regards,

Wilfred
Max Shamanov
Posts: 992
Joined: Tue Sep 07, 2021 10:11 am

Re: Only last row in databand is printed on last page

Post by Max Shamanov »

Hello,

Please send us test data for your repor to reproduce the error.

Thank you.
wilfredkruijsbergen
Posts: 9
Joined: Wed Feb 03, 2021 9:31 am
Location: Amersfoort

Re: Only last row in databand is printed on last page

Post by wilfredkruijsbergen »

I thought the test data is in the mrt file? Am I wrong here?
Kind regards,

Wilfred
Max Shamanov
Posts: 992
Joined: Tue Sep 07, 2021 10:11 am

Re: Only last row in databand is printed on last page

Post by Max Shamanov »

Hello,

There is no data in your mrt file. You can move the data to resources by clicking on the move to resource button.


Thank you.
Attachments
Designer_VBOLuCMphB.png
Designer_VBOLuCMphB.png (171.21 KiB) Viewed 2079 times
wilfredkruijsbergen
Posts: 9
Joined: Wed Feb 03, 2021 9:31 am
Location: Amersfoort

Re: Only last row in databand is printed on last page

Post by wilfredkruijsbergen »

Thanks for the info. This is de report (mrt) with the data!
Attachments
Sales_Invoice_Pdf_2022-02-18_10-20-37.mrt
(236.22 KiB) Downloaded 311 times
Kind regards,

Wilfred
Max Shamanov
Posts: 992
Joined: Tue Sep 07, 2021 10:11 am

Re: Only last row in databand is printed on last page

Post by Max Shamanov »

Hello,

Please set the property New Page After = true for Footer_Min_SubTotal. Please see the attached report.

Thank you
Attachments
sales_invoice.mrt
(265.3 KiB) Downloaded 211 times
wilfredkruijsbergen
Posts: 9
Joined: Wed Feb 03, 2021 9:31 am
Location: Amersfoort

Re: Only last row in databand is printed on last page

Post by wilfredkruijsbergen »

That solution is not going to work for me. I don't want a page break after Footer_Min_SubTotal always. if there is enough space on the first page, I want the 'footer' bands printed on the first page. Only if there are so many lines on the data band, then I want a page break (that is working fine), my only problem is that there is a line missing in band Data_Min_BtwUitsplitsing.
Kind regards,

Wilfred
Lech Kulikowski
Posts: 7339
Joined: Tue Mar 20, 2018 5:34 am

Re: Only last row in databand is printed on last page

Post by Lech Kulikowski »

Hello,

Could you provide a sample of what result do you need?

Thank you.
Post Reply