REPORT_COUNT仅为JASPER报告时不受欢迎的页面突破

时间:2014-10-09 10:48:48

标签: jasper-reports

您好我有一个带分页符的子报表,当REPORT_COUNT>时,如何限制分页的打印? 1?

1 个答案:

答案 0 :(得分:0)

<break>
    <reportElement x="0" y="8" width="100" height="1">
        <printWhenExpression><![CDATA[$V{REPORT_COUNT}>1]]></printWhenExpression>
    </reportElement>
</break>