水晶报表字段抑制 [英] Crystal Report Field suppression

查看:74
本文介绍了水晶报表字段抑制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一份水晶报告.
报告在一个部分中包含5个字段.
如果前两个字段被抑制,则第三个字段必须被抑制.
怎么写公式呢?请帮助我

例如:
第1节:
__________________________________________________
field1 field2 field3 field4 field5

__________________________________________________
第2节:
___________________________________________________
field1 field2 field3 field4 field5
___________________________________________________

在每个部分中,如果前两个字段被抑制,则取消第三个字段

I am developing a crystal report.
Report contains 5 fields in a section.
If first 2 fields are suppressed, then Third field has to be suppressed.
how to write formula for that? Please Help me

ex:
section 1:
__________________________________________________
field1 field2 field3 field4 field5

__________________________________________________
Section 2:
___________________________________________________
field1 field2 field3 field4 field5
___________________________________________________

In Each section if first two fields are suppressed then suppress the third field

推荐答案

以下文章应有助于条件格式设置:Crystal Reports中的条件格式 [
Following article should help for Conditional Formatting: Conditional Formatting in Crystal Reports[^]

Try!


我认为上述解决方案无法助您一臂之力.

我想知道些什么.

是有条件抑制还是手动抑制的字段?

如果被有条件地抑制,则可以进入该字段的有条件抑制公式,并包含一个变量,该变量在被抑制时设置为1,否则设置为0.

然后,您可以在field3中使用此变量,并通过检查变量是否返回1或0来查看是否抑制了该字段.

让我知道你是否成功.

谢谢
谢赫
I think the above solution doesnt get you anywhere.

I want to know something.

is the field that is suppressed conditionally or manually suppressed?

If it is conditionally suppressed, then you can go into the conditional suppression formula of the field and include a variable that is set to 1 when suppressed and 0 otherwise.

You can then use this variable in field3 and see if the field is suppressed by checking if the variable returns 1 or 0.

Let me know if you succeed.

Thanks
Shaikh


这篇关于水晶报表字段抑制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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