setParameterIgnoreInSelection

setParameterIgnoreInSelection(parameterName: String;
                              option:        Boolean output);

The setParameterIgnoreInSelection method of the JadeReportWriterReport class specifies whether the value specified in the parameterName parameter is to be ignored when selecting parameters for the current run of the report, by setting the option parameter to true.

Any selection criterion using the specified parameter is dropped from the query (by generating true for the selection itself within the rest of the selection criteria).

Use the getParameterDetails method to write reports that have multiple selection criteria (for example, company, department, cost center, and so on) that are compared with specified parameter values, and to run these reports with one or more of the selections being an ALL action (for example, a specific department but all cost centers). So that you do not have to define a specific value as all for each primitive type, you can use the appropriate ignore in selection value for each parameter.

If you use two or more parameters in a single selection (for example, is between or is one of), you must set the ignoreInSelection parameter of the getParameterDetails method for each of the parameters that are used for it to take effect. If not, the values of these parameters are used.

You can set the ignore in selection value for each parameter by checking or unchecking the check box for each parameter name on the Parameters sheet of the Report Properties dialog in the JADE Report Writer Designer application.