vamsi18 Posted December 1, 2008 Share Posted December 1, 2008 HiSuppose the report is having 10 pages (total no of pages) thenfrom 1 -9 one text field should be displayed on 10th (last page) another textfield should be displayed.pls help me Link to comment Share on other sites More sharing options...
telo Posted December 2, 2008 Share Posted December 2, 2008 I'm sorry,i can not understand it ,can you describe it clearly. Link to comment Share on other sites More sharing options...
vamsi18 Posted December 2, 2008 Author Share Posted December 2, 2008 Hithq very much for ur reply.In my report right bottom i have 2 fields.in that 1 field will be displayed on last page and other in remaining pages.For ex: In page 1 continue page in page 2 continue page in page 3 (last page) End of report.pls help methqs in advance Link to comment Share on other sites More sharing options...
telo Posted December 2, 2008 Share Posted December 2, 2008 i think you can compare $V{PAGE_NUMBER} $V{PAGE_COUNT} ,and i think a field is ok,no need to use two.you can use this :$V{PAGE_NUMBER}.intValue() == $V{PAGE_COUNT}.intValue ? "End of report" : "continue page" in the text Field's Text Field Expression .by the way, in my office PC,i have not the ireport ,but if you have not resolve,i can do this this night when i go home. Link to comment Share on other sites More sharing options...
vamsi18 Posted December 2, 2008 Author Share Posted December 2, 2008 thqs for ur reply. But this is not working. page_count is not working, i displayed the value of this variable in first page it displayed 1 in 2nd 0 displayed. pls try to give solution for the below For ex: In page 1 continue page in page 2 continue page (this is from propert file) in page 3 (last page) 3 text fields i have to display(these are fields) thqs in advance Link to comment Share on other sites More sharing options...
mdahlman Posted December 2, 2008 Share Posted December 2, 2008 It sounds like telo's idea should be possible. Maybe there are some details to work out. But as the problem is described it will be much easier to use the Last Page Footer band. This is designed for the type of thing that you are describing, so it lets you control the footer on the final page easily without any coding. Regards,MattJaspersoft 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