DataSet Data Provider and Sub Reports

Posted by: btrainer on 29 January 2018, 5:57 pm EST

    • Post Options:
    • Link

    Posted 29 January 2018, 5:57 pm EST

    I have a project where we need to create reports for a SQLite database. We do not have an ODBC driver so we are using a data set provider in Active Reports. We have had great success with this.

    One of the requirements is to create a single report of nine single page reports. We created and ran all of the single page reports just fine. When I created the single report with sub reports, I setup code to change the data set based on sub report.

    Now every page was then adding a blank page. So for a report that was supposed to be 9 pages is now 18.

    Since I had created all the complex reports and separate queries, I used the method to change the data set between reports.

    To further test our situation, I created a simple project that duplicates the issue just using data sets and no database as attached. I really need a solution as creating two copies of the reports is not feasible. Is there a setting I am missing?

    ReportTester.zip

  • Posted 30 January 2018, 8:47 am EST

    Thanks for the sample application. You’re getting blank pages because the size of the SubReport controls in the MasterReport.rdlx is 9in X 6.5in whereas the size of the Subreports is 11in X 8.5in. Hence the extra pages. I’ve reduced the size of the Subreports and attached the modified sample along with. There are no blank pages now on running the report. Kindly check.ReportTester_Modified.zip

  • Posted 30 January 2018, 5:17 pm EST

    Thank you! I am so happy it was something simple. That fixed my bigger project.

Need extra support?

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

Learn More

Forum Channels