问题
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