-1
我有一個主報告和一個SubReport1。在SubReport1裏面我有SubReport2和SubReport2有SubReport3。當我運行報告時,我只能看到Master,SubReport1和SubReport2,但沒有SubReport3。有沒有人試過這個?jasper報告中是否可以有超過2層的子報告?
我有一個主報告和一個SubReport1。在SubReport1裏面我有SubReport2和SubReport2有SubReport3。當我運行報告時,我只能看到Master,SubReport1和SubReport2,但沒有SubReport3。有沒有人試過這個?jasper報告中是否可以有超過2層的子報告?
首先是的,這是可能的,你調用二級子報表的方式是一樣的。你的實際代碼的例子將有助於瞭解你的缺點,反正,在這裏與你相似的疑問:Displaying SubReport inside SubReport 這裏是一步一步的教程就如何實現這一目標:Call to subreport on existing subreport
沒有錯與it – Parth
@TheOnlyIdiot'在jasper報告中是否可以有超過2層子報告?' - 是的,您可以在其他子報告中使用子報告 –
大家好。我已經知道了什麼是錯的。我忘了從Groovy改爲Java SubReport3。我沒有注意到它,因爲我沒有得到任何錯誤結果,只是沒有顯示。 – TheOnlyIdiot