开发者

Page management: How to add space in Detail band

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜