我是iReport的新手,迄今爲止我所做的只是運行一個已經編譯好的報告。事實上,這是我們目前使用的報告,所以不應該有任何問題。雖然,當過我運行報告中,我拋出此錯誤消息爲什麼iReport向我拋出這些子報表異常?
Compiling to file... C:\Program Files\Fishbowl\reports\Custom\PackingListTacticalMedical2015.jasper
Compiling subreports....
Subreport C:\Program Files\Fishbowl\reports\Custom\SOPackingListTacticalMedical2015.jrxml already compiled.
**Unable to locate the subreport with expression: "$P{cbLayoutFormat}.equals("standard") ? $P{path} + "POPackingList.jasper" : $P{cbLayoutFormat}.equals("carton") ? $P{path} + "cartonPOPackingList.jasper" : $P{path} + "POPackingListLoc.jasper"".**
Compilation running time: 13,619
報告並仍在運行和編譯,但是當過我提示「輸入shipID」 - 我做 - 結果是空白。我知道信息的意思,我只是不明白它的意思。
感謝任何人都可以幫助指示或解釋此。
[如何將主報表數據源傳遞給子報表(JasperReports)?](http://stackoverflow.com/questions/8490563/how-to-pass-main-report-data-source-to- subreport-jasperreports) –