在Crystal报表中使用公式隐藏完整列 [英] Hiding Full Column In Crystal Report Using Formula
问题描述
我想要当我的 PickUpsCRY
大于0时,此列完全消失,否则应显示。
I want when my PickUpsCRY
is greater than 0,this column is fully disappear else it should be shown .
推荐答案
你不能真正压制水平空间,抑制报告部分等)。因此,虽然您可以使用抑制公式 max({table.PicksUpsCRY})> 0
在技术上抑制该列的字段,标题,行等,但您不会能够摆脱空格,它会出现,就像你刚刚在你的表中有一个洞。
You can't really suppress horizontal space in the same way you can suppress vertical space (via the suppression of report sections, etc.). So, while you could technically suppress that column's fields, header, lines, etc. with the suppression formula max({table.PicksUpsCRY})>0
, you won't be able to get rid of the whitespace and it'll appear as though you've just got a hole in your table.
你可以移动这个列到结束但是没有显而易见的一列缺少。
You could move this column to the end so it's not as obvious that there is a column missing, though.
这篇关于在Crystal报表中使用公式隐藏完整列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!