Page 1 of 1

Reports rendering differently

Posted: Mon Jul 25, 2011 12:36 pm
by jmiller
I have a report which appears to be rendering differently depending on the number of data rows. Here is an outline of the pages with the problem.
Page1
Group Header (used to group master data together)
Data band
Sub report
Sub Report (contains detail data as well as master data)

I sized the sub-report so that I expect at most 3 rows to be rendered. For data that has 3 detail records it displays all 3 on the page as expected. However, when I add a 4th detail record, I get 2 full records, part of the 3rd, and then the rest to next page. I've included pdfs, the mrt, the xsd, and xml. The xml data has the 4th detail record commented out.

Reports rendering differently

Posted: Tue Jul 26, 2011 8:22 am
by Alex K.
Hello,

In this case, it occurs due to using Sub-Report. Since sub-report is rendered on a single page of infinite length, and then split, then the CanBreak property is not working. Alternatively, we can advise you to move data from the sub-report to the main page.

Thank you.

Reports rendering differently

Posted: Wed Jul 27, 2011 5:07 am
by jmiller
That seems to have addressed that problem, but it did bring on another problem. The grouping is no longer working. I have a group header in place so that whenever a different loan condition is met it starts a new page. When I run this report, the two coupons for loan 0000001 and the first coupon for loan 0000002 print on the same page. I need to have the coupons for loan 0000002 start on a new page. I tried using "New Page Before" and "New Page After" in the group band but it does not seem to split it.

Reports rendering differently

Posted: Wed Jul 27, 2011 5:11 am
by jmiller
Never mind, I just found the problem. The coupon data band was missing the master component. Once I set it, the report works as hoped for.
Thanks for your help.

Reports rendering differently

Posted: Wed Jul 27, 2011 8:21 am
by Ivan
Hello,

We are always glad to help you.
Let us know if you need any additional help.

Thank you.