Sub reports not paginating correctly

Posted by: frank.pegues on 20 October 2017, 12:42 am EST

  • Posted 20 October 2017, 12:42 am EST

    I have a report design where it seems that a sub report does not properly display during pagination. In a single sub report (named “RSNormal”), I have defined multiple other sub reports which can grow or shrink as needed to fit content (see attached image “SubReportDesign.png”). None of the sub reports dynamically move fields or dynamically set visibility and I am not forcing page breaks. If you examine a report preview by just previewing the sub report RSNormal, I get what I would expect in that the sub reports are side by side (see attached image “ExampleGenerationRSNormal.png”). However, if I generate the entire report, it appears that the sub reports on the left disappear and the sub report on the right moves left into the position I would expect the other sub report to be (see attached image “ContentMissingShifted.png”).

    I could “fix” the issue by simply telling the RSNormal subreport to force a page break before. However, this is not ideal since under normal conditions, there would not be so many entries and this would cause a page break where one should not really be necessary. I have included the report design template as well as an XML dataset which can be used to duplicate the issue. To see the issue, preview the sub report called “_Frame” which will display the entire report. If you preview the sub report called RSNormal, you can see what I would expect the sub reports to do. You will most likely have to adjust the path for the Connection String in the report template.

    I am using ComnponentOne Studio Version 4.0.20172.271 on Windows 10. Any help you could provide would be greatly appreciated. Thanks.

    ReportExample.zip

  • Posted 23 October 2017, 6:08 pm EST

    Hi,

    Please note, I could not replicate your first issue “content become missing” because Wrong denomination is printed same in both reports (_Frame & RSNormal). If you want to print Wrong denomination each time then you need to remove Text property of RSWrongDeno sub report in RSNormal report. See the attached image.

    However, I escalated your second issue (“content shifted left”) to concern team. Will let you know as soon as there is any information from them.

    Also please describe your other issue(s) related to page break or any others in brief with a small report. So that we can replicate the same at our end and assist you accordingly.

    Thanks,

    Singh Sonu

  • Posted 23 October 2017, 9:34 pm EST

    Hi Singh,

    Thanks for looking at this and let me know about the content shift as soon as possible please. Sorry for the large report, but if I could reproduce this issue in a simpler report, I would have. Unfortunately, all the other reports I have seem to function after a little adjustment of some fields. Also, I think you may have misunderstood the Wrong Denomination issue. It is not that the actual text of the Wrong Denomination becomes missing, but rather the actual Wrong Denomination content. If you look at the content under wrong denomination (with the exception of $10 where I entered no wrong denominations), you will note that when you preview the entire report from the _Frame, that the content of the wrong denomination seems to disappear and the content for shred seems to move over to the left where the wrong denominations would show up (the actual text “Wrong Denomination” does actually show for the most part, but the content underneath it is gone). The way the report is designed, if you ran $1, then $1 does not show up under the wrong denomination, but all other denominations do.

    As a side note, I have adjusted the fields (shrank them slightly as well as the entire section of the referenced sub reports) in all the sub reports called from RSNormal. The result is that the report now previews correctly even when all fields have been populated. My concern moving forward is that we do have a lot of dynamic reports and I may miss something before we release the software to our customer.

    Again, thank you for looking at this and please let me know what you find about the shifting content.

    Frank

  • Posted 24 October 2017, 8:07 pm EST

    Thanks Frank for detailed description.

    I also escalated your issue related to missing content to concern team (TFS ID: 293047 internal use only).

    And sure, I will update you about the both issues if there is any update.

    Thanks,

    Singh

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels