Jasper iReport Designer中的表格 [英] Table in Jasper iReport Designer

查看:153
本文介绍了Jasper iReport Designer中的表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Jasper iReport Designer中创建了一个表。执行报告时,它会多次显示同一个表。
虽然只有单个数据集&表被使用。请指导。

I have created a table in Jasper iReport Designer. When the report is executed,it shows the same table multiple times. Although only single dataset & table is used.Please guide.

谢谢

推荐答案

尝试将您的表组件放入SUMMARY波段,因为详细信息带会重复数据集中每一行的记录。

Try to put your table component into the SUMMARY band because detail band repeats the record for every row in dataset.

如果您确实需要将其放入详细信息区域,则可以尝试将
表属性printWhenExpression设置为$ V {REPORT_COUNT} == 1

If you really need to put it in the detail band, you can try set the table property "printWhenExpression" to $V{REPORT_COUNT} == 1

这篇关于Jasper iReport Designer中的表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆