Infinite report generation
There are cases where a report continues generation infinite since it somehow have issues placing components on a page. We can always solve this by pinpointing the erroneous component and fixing the report. However, our end users are able to create their own designs and re-introduce this problem themselves.
I want to prevent our software to have issues with these kind of reports. We now call
I want to prevent our software to have issues with these kind of reports. We now call
ppReport.PrintToDevicesand there the infinite generation/loop happens. Are there ways to "cancel" or "timeout" the generating of the report from code?
Comments
The Report.PageLimitReached method can be called to stop report generation.
or
The Report.PageLimit property can be used to specify a max number of pages.
For end-user solution, you might try implementing the Report.Template.OnNew and Report.Template.OnLoadEnd events to set the Report.PageLimit to the max pages.
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com