1

我正在使用JasperReports生成报告。我正在使用两个字段包含Page X of Y表达式。如果报告仅包含一页,是否可以隐藏此字段?

4

1 回答 1

0

You can use the field property "Print When Expression" with a expression like that:

$V{PAGE_NUMBER} > 1

But you have to set this as well: evaluationTime="Report"

于 2012-07-26T20:21:08.730 回答