Crystal Reports - 根据数据隐藏文本和绘图对象 [英] Crystal Reports - Hiding a text and drawing object based on data

查看:10
本文介绍了Crystal Reports - 根据数据隐藏文本和绘图对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果数据字段IsVisible"设置为 1,我想在 Crystal Report 上隐藏文本和绘图.有没有简单的方法可以做到这一点?

I have a text and drawing on a Crystal Report which I would like to hide if the data field "IsVisible" is set to 1. Is there an easy way to do this?

推荐答案

您可以通过转到Section Expert"有条件地抑制字段/文本/图片所在的整个部分 -> 选择您想要的部分 ->单击Suppress (No Drill-Down)"旁边的公式按钮并输入 {field.IsVisible}<>1,或者您可以选择性地仅右侧隐藏有问题的字段/文本/图片- 单击它们 -> 'Format Field' 或 'Format Graphic' -> 'Common' tab -> 输入相同的抑制公式.

You can either conditionally suppress the entire section that the fields/text/picture is on by going to 'Section Expert' -> select the section you want -> click the formula button next to 'Suppress (No Drill-Down)' and enter {field.IsVisible}<>1, or you can selectively only suppress the fields/text/pictures in question by right-clicking them -> 'Format Field' or 'Format Graphic' -> 'Common' tab -> enter the same suppression formula.

这篇关于Crystal Reports - 根据数据隐藏文本和绘图对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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