How to fix to report is empty issue

AOT\SysReportRun\run

// VAR Changed on 06 Feb 2012 at 14:14:30 by JXie7519
void run(boolean onlyReport = false)
{
    // If this report is a webReport the run a webReport.
    if (webSession() && runBaseReport)
    {
        runBaseReport.runWebReport();
    }
    else
    {
        // When running the report and onlyReport = true then run the report.
        if (!onlyReport && runBaseReport)
        {
            if (runBaseReport.prompt())
            {
                runBaseReport.run();
            }
            // If the prompt returns false the do not run the report.
            
// The RunBaseReport.Run method calls the ReportRun.run method with the parm onlyReport = true.
            return;
        }
    }

    this.buildPrintGrandTotal();
    this.buildPrintOnlyTotals();

    // VAR Changed on 06 Feb 2012 at 14:14:30 by JXie7519 Begin
    if(this.printJobSettings().clientPrintJobSettings())
    {
        this.printJobSettings().clientPrintJobSettings().suppressScalingMessage(true);
        this.suppressReportIsEmptyMessage(true);
    }
    else
    {
        this.printJobSettings().suppressScalingMessage(true);
        this.suppressReportIsEmptyMessage(true);
    }
    // VAR Changed on 06 Feb 2012 at 14:14:30 by JXie7519 End

    super();
}
原文地址:https://www.cnblogs.com/Fandyx/p/2429816.html