Data dissapears when subtitle is printed on a new page

Stimulsoft Reports.WPF discussion
Post Reply
Vinnie
Posts: 8
Joined: Thu Nov 25, 2010 4:41 am
Location: Belgium

Data dissapears when subtitle is printed on a new page

Post by Vinnie »

Hi,

we're having some problems when our main titles and subtitles are split by a page end. In that case the data underneath the subtitles isn't displayed (correctly). The first picture is what it should be, the second is manipulated in a way that the main titles and subtitles are split.

Image

In the picture beneath you can see that we added linefeeds in the text under the BIG-image, so that de data under the main title "1. IDENTIFICATIE" is forced to a new page. As you can see only the first item from the above example "Archiefnummer" is displayed. All other items somehow vanished from the report. The same is the case for the next main title "2. AARD VAN GEVAAR". Although subtitle "1. Brandgevaar" is still shown, the data underneath seems to have dissapeared, as did the subtitle "2. Toxiciteitsgevaar".

Image

Any idea how this is possible?



Vinnie


P.S.: We are currently using the Wpf 2011.1 version, but have tested this on the 2011.2 version with the same results.
P.S.S.: The first version of this report was developped in the 2010.3 .Net version.
Attachments
1458.bad.jpg
1458.bad.jpg (48.57 KiB) Viewed 12193 times
1457.good.jpg
1457.good.jpg (81.78 KiB) Viewed 12192 times
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Data dissapears when subtitle is printed on a new page

Post by Andrew »

Hello,

Two of your images are broken. Could you, please attach them again?

Thank you.
Vinnie
Posts: 8
Joined: Thu Nov 25, 2010 4:41 am
Location: Belgium

Data dissapears when subtitle is printed on a new page

Post by Vinnie »

Hi Andrew,

I attached them to the previous post


Vinnie
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Data dissapears when subtitle is printed on a new page

Post by HighAley »

Hello, Vinnie.

Please, send us your report template with data to reproduce your issue.

Thank you.
Vinnie
Posts: 8
Joined: Thu Nov 25, 2010 4:41 am
Location: Belgium

Data dissapears when subtitle is printed on a new page

Post by Vinnie »

Hey Aleksey,

we've seem to have found a solution to the problem, though we still don't realy know why the problem occured.

The first page in the report is used to fill some variables with events. By putting some of these events on a subreport, the problem was solved.


Do you have any idea what caused the problem?


Thank you,
Vinnie
Attachments
1465.schema.xsd
(23.77 KiB) Downloaded 284 times
1464.data.xml
(5.79 MiB) Downloaded 442 times
1463.withSubreport.mrt
(2.01 MiB) Downloaded 277 times
1462.withSubreport.cs
(4.45 MiB) Downloaded 262 times
1461.bad.mrt
(2.03 MiB) Downloaded 267 times
1460.bad.cs
(4.47 MiB) Downloaded 345 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Data dissapears when subtitle is printed on a new page

Post by HighAley »

Hello.

Thank you for sending files. We need some time to prepare an answer for you.

Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Data dissapears when subtitle is printed on a new page

Post by HighAley »

Hello.
Vinnie wrote:we've seem to have found a solution to the problem, though we still don't realy know why the problem occured.

The first page in the report is used to fill some variables with events. By putting some of these events on a subreport, the problem was solved.

Do you have any idea what caused the problem?
We couldn't reproduce your issue.
Please, describe your problem more detailed. Maybe with screen-shots.

Thank you.
Vinnie
Posts: 8
Joined: Thu Nov 25, 2010 4:41 am
Location: Belgium

Data dissapears when subtitle is printed on a new page

Post by Vinnie »

Hi Aleksey,

the first manipulation we did in the data.xml, was to add linefeeds in the "Address" (tblReportInfo). This Address is displayed on the report under the BIG-image (surrounded in red). De linefeeds are added behind the first line in the Address (see blue circle). By this action the main title (purple) is forced to the end of the page. As you can see in the images added in the previous posts, only the first of the 18 items underneath this main title is shown on the print.

We did similar actions (adding linefeeds) in the data.xml to force main titles to the end of a page.


Hope this clarifies the problem.


Vinnie

Attachments
1478.notPrinted.jpg
1478.notPrinted.jpg (118.11 KiB) Viewed 12140 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Data dissapears when subtitle is printed on a new page

Post by HighAley »

Hello.

This problem occurs because you use the tblReportValues1 Data Source in the PageHeaderBand2 Header and the bndIdentificationValues Data Band. Please, try to use 2 Data Sources.

Thank you.
Post Reply