将子报表变量传递给其他子报表 [英] Pass subreport variable to other subreport

查看:124
本文介绍了将子报表变量传递给其他子报表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从第一个子报表传递已计算的变量(变量定义为主报表)并将其传递给主报表的第二个子报表。



我已经尝试但在第二个子报告中我总是得到空值。



请帮助!

解决方案

请查看这个解决方案。归结为使用子报告所在组的正确重置类型。此外,请确保您没有使用iReport 3.0.0。



还请确保您避风港按照此处 设置空白时

I want to pass already calculated variable from the first subreport (variable is defined is the master report) and pass it to the second subreport of the master report.

I already tried but in the second subreport I always get null value.

Please help!

解决方案

Please take a look at this solution. It boils down to using the correct Reset Type for the group the subreport is in. Furthermore make sure you are not using iReport 3.0.0.

Please also make sure you haven't set Blank when null as noted here

这篇关于将子报表变量传递给其他子报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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