开发者

Page management: How to add space in Detail band

开发者 https://www.devze.com 2022-12-19 06:32 出处:网络
I have created a report with iReport. And I am having problem with Detail band. I want specific number of records for a page, even if the records with data or with out

I have created a report with iReport. And I am having problem with Detail band.

I want specific number of records for a page, even if the records with data or with out data.

Actually I have only one record in my Detail band, I am getting report like this:

---------------- Here Detail band started
Empid | Empname
124   | medopal
---------------- Here Detail band ended

But my requirement is like below:

---------------- Here Detail band started
Empid | Empname
124   | medopal
      |
      |
      |
      |
      |
      |
      |
      |
---------------Here Detail band ended

To print 开发者_开发问答the Detail band even there is no records to make occupy entire page.


You can use the element "Page Break" in iReport with a conditional "Print When Expression".

The expression could be something like $F{REPORT_COUNT}%20==0

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号