使用Crystal Reports,我们希望根据用户在参数中的输入来取消显示部分 [英] Using Crystal Reports, we want to suppress a section based on user input in a parameter

查看:92
本文介绍了使用Crystal Reports,我们希望根据用户在参数中的输入来取消显示部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

该参数尚未设置,但将确定要拉的作业(打开,软关闭,关闭或全部).因此,如果用户说他们希望打印打开"作业,则我们希望该部分在ContractStatus<> Open时禁止显示.

The parameter has yet to be setup, but it will be to determine what jobs to pull (Open, Soft Closed, Closed, or All). So, if the user says they want Open jobs to print, we want the section to suppress if ContractStatus<>Open.

有什么建议吗?

推荐答案

在节专家"中,突出显示要隐藏的节.单击抑制"旁边的公式"按钮(x-2).不要选中抑制框!创建一个像这样的公式:

In the Section Expert, highlight the section you want to suppress. Next to Suppress click on the formula button (x-2). Do not check the Suppress box! Create a formula like:

{tableName.ContractStatus} <> {?ParameterName} 

如果字段名称值不等于参数值,这将禁止显示该部分.

This will suppress the section if the field name value does not equal the parameter value.

这篇关于使用Crystal Reports,我们希望根据用户在参数中的输入来取消显示部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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