Hi guys,
I currently have a problem with the PageCount in a very specific situation.
I have a Report made in the Visual Studio Designer. This Report has a different Subreport based on a Parameter.
This Report is in a ReportBook in these variants with different parameters.
And this ReportBook is displayed in a ReportViewer.
Now the PageCount isn't always correct.
With always I mean, some versions of the Report have the correct number, some don't.
If the Report is not in the Book, the PageCount is correct.
If I try the same with a ReportBook in the Standalone Designer, it is also correct.
The PageNumberingStyle is set to ResetNumberingAndCount, so that can't be any problem.
Since it's a big C# project with Database connections, it's hard to give the whole code and just some snippets aren't relly informative.
But has anyone any idea what could help or how I could count the pages without the build in function?
Greetings Benedikt