Databand with Header and Footer

Stimulsoft Reports.PHP discussion
Post Reply
Dennis
Posts: 10
Joined: Tue May 30, 2017 3:24 pm

Databand with Header and Footer

Post by Dennis »

Hi,
is it possible to define a (second) Databand with Header and Footer stay all together, if it will not fit (Page break) on the current side place the whole on next (new) Page.

Thanks a lot
Dennis
Max Shamanov
Posts: 1024
Joined: Tue Sep 07, 2021 10:11 am

Re: Databand with Header and Footer

Post by Max Shamanov »

Hello,

We apologize if we did not fully understand your question.
Could you please provide more details about your issue?

Thank you.
Dennis
Posts: 10
Joined: Tue May 30, 2017 3:24 pm

Re: Databand with Header and Footer

Post by Dennis »

Hi, sure.

we use a 2. databand on our invoices to display different taxes and the final total sum.

In some cases, the invoice positions in the first databand are too long so that the second data band wraps over the page.

If possible, it would be desirable for the second data band to always be shown complete with header, detail and footer on the next page when such a break occurs.

here in the example it wraps unluckily.
2025-09-01 08 19 48.jpg
2025-09-01 08 19 48.jpg (404.11 KiB) Viewed 2399 times
2025-09-01 08 20 53.jpg
2025-09-01 08 20 53.jpg (92.27 KiB) Viewed 2399 times
here is the designer, what it looks like there
2025-09-01 08 24 56.jpg
2025-09-01 08 24 56.jpg (859.67 KiB) Viewed 2399 times
Thanks, Dennis
Lech Kulikowski
Posts: 7383
Joined: Tue Mar 20, 2018 5:34 am

Re: Databand with Header and Footer

Post by Lech Kulikowski »

Hello,

Try to set the CanBreak=false for the DataBand2.

Thank you.
Dennis
Posts: 10
Joined: Tue May 30, 2017 3:24 pm

Re: Databand with Header and Footer

Post by Dennis »

Thank you, but i tried some combinations:
Databand2
-> can break = true / false
-> details together = all
-> print on -> only last Page

HeaderBand2
-> hold together

FooterBand
-> hold together

but nothing works.

is there an option to force an Page break befor Databand2 or after Databand1 ?
Maybe it is possible to create a condition with more than 12 rows on Databand1 than force Pagebreak?

Best Regards
Dennis
Lech Kulikowski
Posts: 7383
Joined: Tue Mar 20, 2018 5:34 am

Re: Databand with Header and Footer

Post by Lech Kulikowski »

Hello Dennis,

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

Thank you.
Post Reply