sushobhan.b Posted February 25, 2019 Share Posted February 25, 2019 I have a main report .in detail band i have adde 3 subreport.subreport 1subreport 2subreport 3subreport executes only 1 timesubreport 2 can generate multiple times(multiple pages)subreport 3 generates after subreport 2 generatesif i have to pass subreport 2 last page number to subreport 3 to print page number in subreport 3how to possible? Link to comment Share on other sites More sharing options...
C-Box Posted February 27, 2019 Share Posted February 27, 2019 You can nowadays use the builtin MASTER_CURRENT_PAGE Variable and just set the evaluation time to MASTER. So you won't need to abuse passing SubReport Parameters or even some ReturnVariables or do other tricks like it was necessary in older version of JasperReports. (see here)For the total PageNumbers is also an own builtin variable so that you could place also page X of Y in one textfield even in nested SubReports! hth + regards from Dresden/GermanyC-Box Link to comment Share on other sites More sharing options...
C-Box Posted February 27, 2019 Share Posted February 27, 2019 see answer 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