Crystal Report page count increases by an increment of the number of pages across debugs?
Posted on 2007-07-30
I am using Crystal Reports in Visual Studio 2005. I am loading my data via datasets. I have a 3 page report. The issue is that every time I open my report in a report viewer, the page count goes up by those 3 pages. Those 3 added pages are duplicates of the first 3. When I say open the report, I even mean across debugs. So even after I close the application and re-run it, I have 3 more pages. My crystal report is embedded into the application. The report must be storing the report's state and just appending to it each time. Is there some sort of way to clear the report? I tried to load it manually, reset it manually, and I also tried closing the report manualy upon exit via the report's member functions.
So my page count is now up to 321. The next time I open it, my page count will be 324 and the 3 added pages will be the same as the first 3.