cactusbeef Posted January 19, 2017 Share Posted January 19, 2017 I have master repot it contain image , Company name and so on in title I have a subreport in head, store relate information, such as name , location , state ans so on , the parameters are passt from web. where I shouls put my parameters? in master or subreport ? Link to comment Share on other sites More sharing options...
sanbez Posted January 20, 2017 Share Posted January 20, 2017 You should put parameters to main report and then pass it from main report to subreport Link to comment Share on other sites More sharing options...
cactusbeef Posted January 23, 2017 Author Share Posted January 23, 2017 Thanks for th reply, then how to pass the parameters from main report to th esub report. my master report just some static text and log Link to comment Share on other sites More sharing options...
sanbez Posted January 23, 2017 Share Posted January 23, 2017 http://community.jaspersoft.com/wiki/subreports Link to comment Share on other sites More sharing options...
cactusbeef Posted January 24, 2017 Author Share Posted January 24, 2017 but my mast report only has some static information , not like the examply that you suggested person and email table did have a relation Link to comment Share on other sites More sharing options...
sanbez Posted January 27, 2017 Share Posted January 27, 2017 Question was:>>where I shouls put my parameters? in master or subreport ?In examplehttp://community.jaspersoft.com/wiki/subreportsfield $F{ID} passed from main report to parameter $P{ID_PERSON} of subreportYou can pass param into main report. Fro example $P{myParam1} from your applicationAfter that you can pass $P{myParam1} from main report to subreportThere are no fundamental deffirences between pass field or parameter of main report to subreport.I can't understand your problem (or doubt?). You got enouph information to solve your problem.Just do it.Good luck Link to comment Share on other sites More sharing options...
cactusbeef Posted February 3, 2017 Author Share Posted February 3, 2017 Thanks! I already solve my questions. 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