溢出时不显示子报告 [英] sub report doesn't display when overflow

查看:1048
本文介绍了溢出时不显示子报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时会出现如下错误:

net.sf.jasperreports.engine.JRRuntimeException: Subreport overflowed on a band that does not support overflow.

子报告需要进行哪些必要的更改才能最小化?

What are necessary changes require on sub report to minimize the same?

有时候,当数据溢出时它不显示子报告,但在 iReport 中显示其余数据。

Also some times it doesn't display subreport when data overflowed, but display rest of data in iReport.

属性设置如下:

子报告属性:

Print when detail overflow : true
position: float
stretch type :relative to tallest obj

子报告中的文本字段:

stretch with overflow : true
Print when detail overflow : true
position: float
stretch type :relative to tallest obj

请提出建议..

推荐答案

尝试将细节带的拆分类型属性更改为拉伸,看看是否有效......只有当你在一个不支持拉伸类型的乐队中有一个子报表时,你才会收到你提到的错误信息...但在你的情况下你说你有子报告在细节带,所以它应该工作....

Try changing the "Split Type" property of the detail band to "Stretch" and see whether that works.... you will get the error message you mentioned only when you have a sub report in a band that does not support Stretch Type... But in your case you said you had the sub report in Detail band so it should work....

这篇关于溢出时不显示子报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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