“The Report is empty” - is bug?

后端 未结 3 533
执念已碎
执念已碎 2021-01-16 08:03

I\'ve created report with 3 parameters in iReport and it\'s running successfully. The report is execute MS SQL stor proc with 3 parameters:

  1. startdate;
3条回答
  •  深忆病人
    2021-01-16 08:37

    Your query is returning no data. The message appears when the report result is null.

    The quickest way to debug this in JasperReports Server is to modify the report's behavior when no data is returned. The default behavior is "No Pages". Change it to "All Sections, No Details". That way you'll get at least the report title and summary band.

    Display your parameters in the title band to see what their values are. Often they aren't what you expect. For example, your input control is "StartDate", but your parameters is "startdate". So the parameter doesn't get the value you thought it would.

提交回复
热议问题