Jump to content
JasperReports Library 7.0 is now available ×

Subreport not Displaying


ayaseen

Recommended Posts

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 Regards

Aamir Yaseen

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...