显示条件子报表 [英] Showing conditional subreport
本文介绍了显示条件子报表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
Hello,
在我的报告中,我有一个字段,可以有3个人中的任何一个不同的价值观我想执行以下操作:
In my report, I have a field that can have anyone of 3 different values. I want to do the following:
如果此字段的值为"A",我不想要在子报表上显示此行。我想打开一个显示不同信息的子报表。如果该字段具有其他值之一,我只想正常显示其行。
If this field has the value "A", I do not want to show this line on the subreport. I want to open a subreport showing different information. If the field has one of the other values, I just want to show its line normally.
我不知道我知道我是否可以做到,或者即使有可能。有谁知道怎么做?
I don't know if I can do it, or even if it's possible. Does anyone know how to do this?
推荐答案
我认为你会在详细信息部分创建一个子报告以及常规细节
< br>那么你有2个基本上写2个抑制公式
1.)当值为"A"时抑制常规细节
2.)当值不是"A"时抑制子报告;
您通过右键单击详细信息或子报表,格式化并选中抑制复选框并单击抑制公式按钮来编写抑制公式
i would think you create a sub report in the detail section along with your regular detail
then you have 2 basically write 2 suppress formulas
1.) suppress the regular detail when the value is "A"
2.) suppress the sub report when the value is not "A"
you write the suppress formulat by right-clicking on the detail or sub report, formatting, and checking the suppress checkbox and clicking the suppress formula button
这篇关于显示条件子报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文