ayaseen Posted November 27, 2006 Share Posted November 27, 2006 Hi All,I am trying to create Master report(master.jasper) containing another subreport (header.jasper) using iReports 1.2.7.I am able to compile and execute master and subreport separately, but when i execute master report it is not displaying subreport.Kindly help me... Here is the code to add subreport in my master report. <subreport isUsingCache="false"><reportElement mode="Opaque" x="26" y="60" width="465" height="50" key="subreport-1"/> <subreportExpression class="java.lang.String"> <![CDATA["./header.jasper"]]></subreportExpression></subreport> Kind RegardsAamir Yaseen Link to comment Share on other sites More sharing options...
Teodor Danciu Posted December 12, 2006 Share Posted December 12, 2006 Hi, Here is what you need:http://jasperforge.org/sf/wiki/do/viewPage/projects.jasperreports/wiki/FAQ16 I hope this helps.Teodor 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