2002 JI Open Discussion Posted August 18, 2006 Share Posted August 18, 2006 By: Jemmee Yung - jemmee 4 level nested subreport 2003-08-13 14:01 May i know if there are samples for nested subreport? Our model is Country->State->County-City and we're expecting to have the report organized like US Califiornia Santa Clara San Jose Santa Clara Maryland Montgomery Rockville PRC Guangdong Guangzhou Sichuan Chengdu we've tried following subreport sample, followed instructions of the group by using something like <parametersMapExpression><![CDATA[$P{ParameterState}]]></parametersMapExpression> <dataSourceExpression><![CDATA[$P{DataState}]]></dataSourceExpression> <subreportExpression class="dori.jasper.engine.JasperReport"><![CDATA[$P{ReportState}]]></subreportExpression> for Country's report as Country->State is a 1-M, when country iterate over from US to PRC, the DataState is still those of {CA, MA} as such parameter has to be passed to the report object before fill report is invoked instaed of during the course of filling. Can anyone help? or suggest workaround? By: Sohan Kasula - skasula RE: 4 level nested subreport 2003-08-20 09:19 Alternative approach to nested reports is using groups. There is a sample report for groups. It might help. By: Jemmee Yung - jemmee RE: 4 level nested subreport 2003-08-21 13:13 finally got the answer from the archive http://sourceforge.net/forum/message.php?msg_id=1756160 thank you so much 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