Detect if report is empty after rendering
Posted: Mon Apr 16, 2012 3:57 am
Hi
How can I find out if a rendered report is empty?
I have designed some reports to be blank if the are data doesn't match the filters.
I don't want to check the data before rendering the report as the filters in the reports may change over time.
Have looked at some of the properties of the StimulReport object, but cant find what I need.
StimulReport.CompiledReport.TotalPageCount = 0 (are always 0)
StimulReport.CompiledReport.Pages.Count = 1
StimulReport.Pages.Count = 1
StimulReport.RenderedPages.Count = 1
Thanks
How can I find out if a rendered report is empty?
I have designed some reports to be blank if the are data doesn't match the filters.
I don't want to check the data before rendering the report as the filters in the reports may change over time.
Have looked at some of the properties of the StimulReport object, but cant find what I need.
StimulReport.CompiledReport.TotalPageCount = 0 (are always 0)
StimulReport.CompiledReport.Pages.Count = 1
StimulReport.Pages.Count = 1
StimulReport.RenderedPages.Count = 1
Thanks