Jasper Reports Show “Page X of Y” using a single text field

前端 未结 8 1378
無奈伤痛
無奈伤痛 2020-11-28 10:20

I would like to create one text field that contains Page X of Y, without splitting it in two parts, as per the common solution. My textfield contains \"Pa

8条回答
  •  佛祖请我去吃肉
    2020-11-28 11:12

    The common approach, as you mentioned, uses two separated text fields:

    Current page number

    $V{PAGE_NUMBER} with EvaluationTime: Now

    Total page number

    $V{PAGE_NUMBER} with EvaluationTime: Report

提交回复
热议问题