【发布时间】:2011-02-18 05:53:08
【问题描述】:
我想将主报表中的共享变量传递给子报表的交叉表公式字段?我该怎么做?
如果我在主报表中声明一个共享变量,并尝试使用“whilereadingrecords”在子报表的交叉表中访问它,它就什么也得不到。
【问题讨论】:
标签: crystal-reports crystal-reports-2008 crystal-reports-xi
我想将主报表中的共享变量传递给子报表的交叉表公式字段?我该怎么做?
如果我在主报表中声明一个共享变量,并尝试使用“whilereadingrecords”在子报表的交叉表中访问它,它就什么也得不到。
【问题讨论】:
标签: crystal-reports crystal-reports-2008 crystal-reports-xi
我做了一个模拟报告并想出了这个解决方案:
whileprintingrecords; shared numbervar foo:=3; foo
MySharedVar。输入此代码:共享号码var foo
MySharedVar2。输入此代码:MySharedVar
MySharedVar2 公式。【讨论】: