Using Crystal Reports, we want to suppress a section based on user input in a parameter

流过昼夜 提交于 2019-12-25 16:56:05

问题


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.

Any suggestions?


回答1:


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.



来源:https://stackoverflow.com/questions/19915828/using-crystal-reports-we-want-to-suppress-a-section-based-on-user-input-in-a-pa

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!