Jasper Reports - align dynamic text fields and their labels horizontally

前端 未结 4 1711
一整个雨季
一整个雨季 2020-12-02 13:34

I\'m using Jasper report 5.2, iReport 5.2 and exporting the report in RTF and PDF formats.

In my report I want to add few text fields along with their (static text)l

4条回答
  •  甜味超标
    2020-12-02 14:37

    In Jasper Reports 3.6 and later (including 5.2), there is a facility to use multiple details bands. You can put the first two blocks of Name and the text of "Sally Admison ..." in the first band. Below it would be your Patient ID and the "1234567890Blah..." and below that would be another details band with Date of Birth. This will give you the results that you want.

    Do not refer to my post here as this is for the older 3.5 version of Jasper Reports. That version does not allow you to use multiple bands and I had to live with one single details band. This is not the case with 5.2. You can have fun with multiple details bands. Enjoy!

提交回复
热议问题