Print 2 databands on the same page

Stimulsoft Reports.NET discussion
anamika
Posts: 1
Joined: Tue Mar 17, 2009 2:57 pm

Print 2 databands on the same page

Post by anamika »

In my report, I have 2 data bands , one contains the column names and other values. I want to ensure that these 2 are always together and printed in the same page.
Can you please let me know how I could do this?

Right now , my report prints the data band containing the headers and part of the other databand containing columns in one page and remaining in the other page.
Can you please advice how I could fix this?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Print 2 databands on the same page

Post by Edward »

Hi

Could you please explain your task in detail. Do you need to change the height of Bands?

Maybe setting of the CanBreak property in false solves the task?

Thank you.
d-hcelik
Posts: 68
Joined: Fri Sep 04, 2020 1:40 pm

Re: Print 2 databands on the same page

Post by d-hcelik »

Hello
I have some issue...I have many databands...My headers in ona databand and dynamic data in other databand.I want to force column names(column names in databand1) and values(values in databand2) in same page...If it has many datas columns in one pages values in other pages this is too ugly..If I set canBreak to false it causes emtpy spaces in page
Lech Kulikowski
Posts: 6163
Joined: Tue Mar 20, 2018 5:34 am

Re: Print 2 databands on the same page

Post by Lech Kulikowski »

Hello,

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

Thank you.
d-hcelik
Posts: 68
Joined: Fri Sep 04, 2020 1:40 pm

Re: Print 2 databands on the same page

Post by d-hcelik »

Hi
I genarated demo file in attachment
databand 3 should be in same page with databand 4 because databand is databand value header
Attachments
Report.mrt
(16.27 KiB) Downloaded 107 times
Lech Kulikowski
Posts: 6163
Joined: Tue Mar 20, 2018 5:34 am

Re: Print 2 databands on the same page

Post by Lech Kulikowski »

Hello,

Please use the Header instead of the DataBand3.

Thank you.
d-hcelik
Posts: 68
Joined: Fri Sep 04, 2020 1:40 pm

Re: Print 2 databands on the same page

Post by d-hcelik »

Thank you
it work very well
but modify report is hard


I try to move header text from databand to header band(I add this new) but it cause empty area in databand...
I try to move all text in databand to above but it is too difficult because our reports is very complex.

How can I remove empty arean in databand top ?

Image
download/file.php?mode=view&id=26474
Attachments
thank.PNG
thank.PNG (59.39 KiB) Viewed 1749 times
Lech Kulikowski
Posts: 6163
Joined: Tue Mar 20, 2018 5:34 am

Re: Print 2 databands on the same page

Post by Lech Kulikowski »

Hello,

Please move all Text components on top of the Databand.

Thank you.
d-hcelik
Posts: 68
Joined: Fri Sep 04, 2020 1:40 pm

Re: Print 2 databands on the same page

Post by d-hcelik »

Hi @lech
Multiple headers in same page does not work well

In my report in same page there are many dynamic area with their headers

Image
Attachments
Capture.PNG
Capture.PNG (110.24 KiB) Viewed 1742 times
Report.mrt
(16.27 KiB) Downloaded 85 times
d-hcelik
Posts: 68
Joined: Fri Sep 04, 2020 1:40 pm

Re: Print 2 databands on the same page

Post by d-hcelik »

this is last report demo
Attachments
Report_HEADER.mrt
(17.5 KiB) Downloaded 111 times
Post Reply