czupet Posted November 3, 2013 Share Posted November 3, 2013 I am using iReport Designer 5.1.0.I have a report when I have to display a variable with a value from the Report Group Header in the Page Header section.The problem is the value in this variable does not change until Report Group Header displays. so the Page Header displays the value of this variable from the previous Report Group Header change.How can I display a variable in the Page Header with the value in the curent Report Group Header variable? Thank You Peter Link to comment Share on other sites More sharing options...
nhutnhut79 Posted November 3, 2013 Share Posted November 3, 2013 Example for Variable2, see picture below Link to comment Share on other sites More sharing options...
czupet Posted November 4, 2013 Author Share Posted November 4, 2013 I tried that, but it did not make any difference Link to comment Share on other sites More sharing options...
sambitgudu Posted November 4, 2013 Share Posted November 4, 2013 - Change Reset Type of variable to group :- In the Group Header change the " Evaluation Time" of variable to GROUP Link to comment Share on other sites More sharing options...
czupet Posted November 4, 2013 Author Share Posted November 4, 2013 Same results it does not work, I think the problem is the Page Header is processed first and the variable does not get updated until it hits the Group section and by that time it's too late the variable is already displayed. Link to comment Share on other sites More sharing options...
nhutnhut79 Posted November 4, 2013 Share Posted November 4, 2013 czupet post file *.jrxml. I will property for you. 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