bgiribabu Posted November 1, 2012 Posted November 1, 2012 I need to pass same JRBeanCollectionDataSource to main and subreportMy JRBeanCollectionDataSource have 4 fields.i need to place 2 fields in main and other 2 fields in subreportPlease sive suggetions to do this pdf generation
sanbez Posted November 1, 2012 Posted November 1, 2012 If subreport located in Detail section pass two fields of main report to subreport as parameters.
bgiribabu Posted November 2, 2012 Author Posted November 2, 2012 Thanks for your reply.Iam new to Jasper.How to send field as a parameter from main to sub report
bgiribabu Posted November 2, 2012 Author Posted November 2, 2012 Thanks for your reply. Iam new to Jasper.How to send field as a parameter from main to sib report
NColaco Posted November 2, 2012 Posted November 2, 2012 In Main reprot , click on the sub report object to see its properties." Parameter " property map the paramters of main report and subreport.below is the Screen shot . I have mapped 8 parameter , so its show "8 properties defined"Hope this helps.
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