Max number of SubReports?

Max number of SubReports?

Forum member · Oct 25, 2007
I am working with the DynamicPDF Designer Version 4.0.3.70511 and I am running into an interesting, but undocumented problem. I am creating a report with a number of subreports (17 at this point, but going to upwards of 30) and I am then running the generated DPLX through a VB.NET app to generate the report against a SQL Server Database. The report runs fine in testing throughout the creation process. But I have now run into an error: Exception of type 'System.IndexOutOfRangeException' occurred in ceTe.DynamicPDF.20.dll After a bit of testing, I got to a point where I am adding my 17th sub report and I get the error. If I remove the 17th subreport, the report runs and generates without a problem. The number, and only the number, of subreports seems to be the problem. If I take out the 1st subreport and leave the last, no error. If I take out one in the middle of the report and leave the last, no error. If I take out the last, no error. BUT IF I LEAVE IN 17 SUBREPORTS, I get the above error. Can anyone help me with this? Is this expected? Thank you, Todd PS I can provide the report source as well as the VB used to create the report, but not the database.

Re: Max number of SubReports?

Support · Oct 25, 2007
Hello Todd, Actually, please send us an email directly to [^a|mailto:support@cete.com|support@cete.com^] containing your DPLX file for our reference. From that, we will be able to send you a new recently built version of the component that has a couple of unreleased updates/fixes specifically related to subreports (these will be released publicly in a short time). There is a descent chance that this alone could resolve the issue for you so let's start with this first. If it does not, we will then troubleshoot the issue further. Oh and by the way, this behavior is not expected. There currently should be no limit as to the number of subreports that you can have in a DPLX file. Thanks, ceTe Software Support Team