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

前端 未结 8 1356
無奈伤痛
無奈伤痛 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:15

    If you want to see page no like Page 1 of 5 on right side of the report footer use ireport or jasper report Palette Tools(Page X of Y) is perfect.

    If you want to see page no like Page 1 of 5 on left side of the report footer use ireport.

    Please follow below steps

    1. Create function variable as like

    1. Please take a TextField

      "Page "+$V{V_CURRENT_PAGE_NUMBER}+" of "+ $V{PAGE_NUMBER}

提交回复
热议问题