Skip to Content
0
Former Member
Jun 27, 2011 at 09:19 PM

setSuppressPrintingIfNoRecords flag not working

14 Views

Hi,

I'm using following code to avoid printing blank pages, but doesn't work, does setSuppressPrintingIfNoRecords work on XI R2?

IReportDocument reportDocument = report.getReportDocument();

ReportOptions reportOptions = new ReportOptions(reportDocument.getReportOptions());

reportOptions.setSuppressPrintingIfNoRecords(true);

report.modifyReportOptions(reportOptions);

Thanks,

Oswaldo