Compare current page number with last page number

前端 未结 3 903
余生分开走
余生分开走 2020-11-27 06:38

How do you check to see if the current printed page is actually the last printed page?

I have tried the following:

$V{currentPage}.intValue() == $V{t         


        
3条回答
  •  臣服心动
    2020-11-27 07:16

    waited for a long time .. but no reply from Stackoverflow... Anyway i found my solution..

    First in your summary band put this line

    
    

    Remember this above line must be only in the summary band of the report.

    After that you can compare this parameter at any point of time in your report to find last page number .

    For Example

    
    

提交回复
热议问题