soso Posted September 7, 2006 Share Posted September 7, 2006 please help me !my subreport is blank at runtime with no error.i use the same connection as the main report.when i execute in IREPORT all is ok.can u tell me why.thanks a lot. Link to comment Share on other sites More sharing options...
thiagot Posted September 13, 2006 Share Posted September 13, 2006 I have the same problem, :( Link to comment Share on other sites More sharing options...
Apolo Posted September 13, 2006 Share Posted September 13, 2006 Maybe next steps can help you.-remove from folder <ireport>& folder with project files <subreport_name>.jasper-recompile subreports-recompile main report Link to comment Share on other sites More sharing options...
thiagot Posted September 13, 2006 Share Posted September 13, 2006 Still same result :(The subreport still blank If the subreport has a header, some data in its details and a footer, even the header and the footer will come to the main report?Well anyway, nothing is comming, blank Link to comment Share on other sites More sharing options...
Apolo Posted September 13, 2006 Share Posted September 13, 2006 the report is secret? or you can attach him(in one archive)?maybe i can understand why it does not work Link to comment Share on other sites More sharing options...
thiagot Posted September 13, 2006 Share Posted September 13, 2006 Apolo, its not secret cos im just testing before doing the real thing I will attach both jrxml here Im using iReports 1.2.4 Its a simple try to make it work, take a look and help me please :D Thanks for your patienceThiago [file name=teste.jrxml size=2997]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/teste.jrxml[/file] Link to comment Share on other sites More sharing options...
thiagot Posted September 13, 2006 Share Posted September 13, 2006 Oops missed the subreport JRXML here it goes: [file name=teste2.jrxml size=1964]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/teste2.jrxml[/file] So that makes teste.jrxml the mainteste2.jrxml the subreport Link to comment Share on other sites More sharing options...
Apolo Posted September 14, 2006 Share Posted September 14, 2006 I understand your problem. You need using something dataset for your subreport. For example:If query in subreport return 3 records the subreport will be render 3 times. If you do not use dataset for subreport or query return 0 records – you can not see subreport. In attach sample with subreport. [file name=reports.zip size=4224]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/reports.zip[/file] Post edited by: Apolo, at: 2006/09/13 18:36Post edited by: Apolo, at: 2006/09/13 18:37 Link to comment Share on other sites More sharing options...
thiagot Posted September 14, 2006 Share Posted September 14, 2006 Did you use a CSV file as dataset to make this result? Link to comment Share on other sites More sharing options...
thiagot Posted September 14, 2006 Share Posted September 14, 2006 I used a jdbc connection to test itIt workedThanks a lot Apolo Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now