Blank subreport in Jasper report

后端 未结 3 1780
慢半拍i
慢半拍i 2021-01-24 04:59

I have seen quite a few questions on blank subreports but none of them provide the information I need. I have a master report:



        
相关标签:
3条回答
  • 2021-01-24 05:11

    I might be wrong because I don't understand much jrxml as a code as I have always developed reports using iReport. Are u passing parameters from main report to subreport? If yes,just check ,by right-click on subreport that whether you have passed the parameters for your subreports.

    0 讨论(0)
  • 2021-01-24 05:16

    May be the query in your subreport doesn't return any row. You might try adding No Data band in your subreport, put some Static Text in it, and set the (sub) report property When No Data to No Data Section.

    0 讨论(0)
  • 2021-01-24 05:25

    I didn't notice any irregularities from your XML JR code. First, are you sure your Data Source (database resultset) is returning any results and is set up properly?

    I would also recommend installing the IREPORT Designer tool for Jasper Reports. I think the latest version is 4.1.2. This will help you tremendously in both designing and error/exception handling.

    0 讨论(0)
提交回复
热议问题