wizir Posted March 8, 2009 Share Posted March 8, 2009 hi, how can i detect last page on the report?i searched forum and i found something about scriptlet hacks, but i would like some exampleor perhaps i can achievied this in another way? maybe easier?best regards guys! Link to comment Share on other sites More sharing options...
Teodor Danciu Posted March 9, 2009 Share Posted March 9, 2009 Hi, It depends on what do you need this for. If you need this so that you can replace something in the page footer, then consider using the lastPageFooter section of the report template. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
wizir Posted March 11, 2009 Author Share Posted March 11, 2009 hello teodord and thanks for reply. my goal is to hide in last page a line (which is exacly in a column footer section) unfortunately last page footer isnt suitable for me any ideas?best regardsPost Edited by dasdas dada at 03/13/09 13:20 Link to comment Share on other sites More sharing options...
wizir Posted March 13, 2009 Author Share Posted March 13, 2009 anyone solved this problem?help plz Link to comment Share on other sites More sharing options...
pablodc Posted March 13, 2009 Share Posted March 13, 2009 what if you copy the contents of PageFooter over LastPageFooter and remove the line? Link to comment Share on other sites More sharing options...
wizir Posted March 13, 2009 Author Share Posted March 13, 2009 well, this line in a column footer section is the bottom line of my table (which table is on a few pages)so, page footer section doesnt resolve my problem i think, or perhaps i misunderstand you, may you explain your suggestion?this is an example of my tablemy table in page1| record1 || record2 || record3 || record4 || record5 || record6 |---------------- <---- line in column footer section (of course i mark float column footer option) my table in page2| record7 || record8 || record9 |---------------- <---- line in column footer section my table in page3| record10 || record11 || record12 || record13 |------------------ <---- line in column footer section - how to hide this line on the last page? etc.i've no ideas, please tell me about some solutionsbest regards guys! Post Edited by dasdas dada at 03/13/09 19:26 Link to comment Share on other sites More sharing options...
C-Box Posted March 15, 2009 Share Posted March 15, 2009 Take a look here... there I described how to detect lastPage and use it within expressions.... so it could work for your problem.jasperforge.org/plugins/espforum/view.php hthC-Box Link to comment Share on other sites More sharing options...
wizir Posted March 16, 2009 Author Share Posted March 16, 2009 CBox, thank you very much!it works! :] Link to comment Share on other sites More sharing options...
hadv Posted August 9, 2013 Share Posted August 9, 2013 I follow the link but it did not work for me. Can you explain more clearly how are you doing? Thank you Link to comment Share on other sites More sharing options...
hadv Posted August 9, 2013 Share Posted August 9, 2013 I did as your link but the lastPage return null within expression. It only have the right value when display on a text field with option report of evaluated time. I did wrong something somewhere? 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