|
|
|
|
|
|
iReport
 
Forums >  iReport Discussion/Help >  Linking a Subreport to a Parent Report.  >
   
Go to bottom
  • Page:
  •  1 
iReport Discussion/Help Topic:
#70659
Linking a Subreport to a Parent Report. 02/08/2010 22:25  

Hi,

 

I have a a very basic question in connection with the way to link a very basic subreport with a very basic parent report.

 

I am using IReport version 3.0.1 to create a basic parent report (empty data source) which loads fine in the preview tab.

Then I create another report (the subreport) which is again very basic and it loads fine on its own in the preview tab.

However when I add the sureport to parent report and click preview, the subreport appears as blank and the parent report loads on its own !

 

I know this sounds basic but if I can resolve it, it will be the foundation for a much bigger report am working on.

 

The subreport deleration within the parent report is shown below,

 

            <subreport>
                <reportElement x="157" y="0" width="200" height="22"/>
                <subreportExpression class="java.lang.String"><![CDATA["C:\\FXNG\\PerforceCodeBase\\branch\\6.5\\fxc.client\\fxui\\src\\report\\com\\ssgm\\fxc\\client\\view\\session\\report\\FinalMasterReport_subreport2.jasper"]]></subreportExpression>
            </subreport>

 

Plz help if possible.

 

Thanks,

Derek
 

dshaar
user photo
Project Roles
Posts: 1
graphgraph
Karma: 0
graphgraph
 
Go to top
  • Page:
  • 1
 
 
JasperForge Quotes
"The iReport dashboard for JasperReports is the belle of the ball when it comes to NetBeans downloads."
 
Founding Member, Open Solutions Alliance       Hot Jasper Projects on SOURCEFORGE.NET       Powered by EssentiaESP