【发布时间】:2014-04-06 14:25:57
【问题描述】:
我的报告是:
问题在于,如果 showsection 为“1”,则页眉按设计显示,但未显示详细信息和组页脚。我简化了子报表为测试所做的工作,并根据我希望测试的显示方式手动将值更改为 0 或 1。
这是我在子报告中的代码:
whileprintingrecords;
shared numbervar showsection;
showsection := 1
这是我用于页眉、组和详细信息部分的抑制公式:
whileprintingrecords;
shared numbervar showsection;
showsection =0
【问题讨论】:
-
当 showsection 设置为“0”时,所有内容都被抑制
标签: crystal-reports