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
精彩评论