2004 IR Help Posted September 2, 2006 Share Posted September 2, 2006 By: Jacky - jacky11287 Can I get the total page numbers of subreport 2004-08-18 22:06 Can I get the total page numbers of subreport in master report....??? Thanks, Jacky Chan By: Andrew McLaughlin - pik0 RE: Can I get the total page numbers of subreport 2004-08-18 22:41 I haven't had much success in passing data back to the master report from a sub report (though it's supposed to be possible within Jasper Reports itself). Is there a way you can utilize the page number count as it exists within the sub report? Piko By: Jacky - jacky11287 RE: Can I get the total page numbers of subreport 2004-08-18 23:29 I am success in returning back the data from sub-report to master report, you can use a singleton class to do it, or view the example in jasperreport tips(In jasper home page)~~~ I am just wondering to have the total page numbers of sub-report to return to master report~~~ Thanks, Jacky Chan By: Andrew McLaughlin - pik0 RE: Can I get the total page numbers of subreport 2004-08-19 12:04 Well, the total page numbers can be had by setting up a a field that has an Evaluation Time of "Report". This calculates it later. In the Textfield expression, you can pass that value to the your Singleton. Just make the expression return null and check the "Blank when null" checkbox. Does that help? Piko By: Jacky - jacky11287 RE: Can I get the total page numbers of subreport 2004-08-19 23:41 Ok, Thanks, it works fine... THanks Piko~~~ Thanks, Jacky Chan 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