抑制水晶报表中的条件行 [英] suppress line conditional in crystal report

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

问题描述

我有一条垂直线,我想用一个条件来抑制.不幸的是,我没有按一行看到条件选项.当我使用空文本框时,所有其他文本都会向下移动.一行是否有条件的另一个抑制选项?

I've a vertical line that i want to suppress with a condition. Unfortunately I don't see the condition option by a line. When I use an empty textbox, all the other text is moved down. Is there conditional another suppress option for a line?

推荐答案

你不能有条件地抑制 CR 中的一行.我知道有两种解决方法:

You can't conditionally suppress a line in CR. I know of two options to get around that:

  1. 将行放在它自己的部分中,然后有条件地抑制该部分.
  2. 在行上放一个文本框,然后有条件地格式化文本框的背景,方法是右键单击文本框->格式化字段->边框选项卡->勾选背景复选框->点击x+2"框进入条件公式,公式类似于 if condition then crWhite else NoColor,其中 crWhite 将隐藏该行,NoColor 将显示它.
  1. Put the line in its own section and then conditionally suppress the section.
  2. Put a textbox over the line and then conditionally format the background of the textbox by right-clicking on the textbox -> Format Field -> Border tab -> check Background check box -> click "x+2" box to enter conditional formula, The formula would be something like if condition then crWhite else NoColor, where crWhite will hide the line, NoColor will show it.

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

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