【发布时间】:2014-11-10 23:37:51
【问题描述】:
我有很多来自子报告的变量,定义如下:
variable class : integer
calculation : system
reset type : none
increment type : none
我想对其中一些变量求和,例如:$V{nb1}.plus($V{nb2}).plus($V{nb8})
如果我在文本字段中执行此操作效果很好,但如果我想将其放入变量中(我们称之为 sum1)则不行。
property of the variable :
variable class : integer
calculation : system
reset type : report
increment type : none
这样,我得到了初值表达式。 如果我将重置类型设置为无,我将获得 null。
包含我的变量 sum1 的文本字段位于“评估时间:报告”
所以,我的变量 sum1 是在 nb1、nb2 和 nb8 之前计算的。我不知道接下来要做什么......
有人可以帮帮我吗?
【问题讨论】: