Yahia88 Posted September 29, 2015 Share Posted September 29, 2015 Hi everyone; I have a several problem concerning passing data from main report to subReport. The parameter is well passed but the query (using that parameter in where) returns no recordsI don't know where is the problemThanks for helping me Regards Link to comment Share on other sites More sharing options...
carlos2015 Posted September 29, 2015 Share Posted September 29, 2015 See this link http://community.jaspersoft.com/blog/how-write-conditional-query-ireport-using-parametersAnd for pass parameter to sub-report you must select the sub-report and go to the "Parameters" property and there select "Copy From Master" Link to comment Share on other sites More sharing options...
Yahia88 Posted September 29, 2015 Author Share Posted September 29, 2015 Thanks Carlos for your quick answer I see that link but it does not answer to my question . My problem is taht the main report is populated by java bean datasource and the subreport is a sql quiery that uses some fields in main report as condition (i create the parameters both in the main report and the subreport ) so the parameter is passed but the result fields in subreport displays null Regards thanks 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