I'm trying to print variable data on the page header, but it always print the first value sent to the report.
Versions Used
Server:
CentOS 5.1 32 bits
Genero BDL 2.32.03
Report Designer 2.32.24
Report Engine 2.32.09
Java:
java version "1.6.0_25"
I've found this topic , written two years ago:
3.) How can i use the ON EVERY ROW variables on a PAGE HEADER ?
--> I have a simple report ordered by 2 columns and I want to print the first column value in the page header (I print both columns on the "ON EVERY ROW" section of the report using the "PRINTX" statement, but the value printed, on every page, is the value of the first row sent to the report).
and the answer:
Do I understand the third question correctly? You have a report that displays a table of values (two columns). Now, if I put the text "This is the value of the first field of the first row of this page: xxx" in the header, this would be what you are trying to achieve?
If yes, then the answer is, that you cannot do this currently. What you can do is: "This is the value of the first column of the last row of the previous page: xxx" in the page header and "This is the value of the first colum of the last row of this page: xxx" in the page footer.
We actually have the functionality you are asking for in the backend but we did not add this option to the REFERENCEBOX to make things more simple. The option we have provided enables you to make things like "Total from previous pages: xxx" in the header and "Total until this point: xxx" in the footer.
Is this functionality active now or is there any solution to print this variable values on the page header?
Silvia Arduán