Standalone Report Designer
Search results
PDF

How to customize the parameter label based on another parameter value

You have to make use of the custom code and the SfExp for the parameter label to get the parameter label changed based on another parameter value. Follow these steps, to change the label of parameter based on another parameter value.

  1. Open the report in our Bold Report Designer.

  2. Open the report properties and click Code to add the custom code to get the parameter label, as shown in the following image.

    Custom Code

  3. While creating the parameter, use the custom code function and assign it to the SfExp to manually set a label of the parameter based on the previous parameter value as shown in the following image.

    Parameter label expression

While previewing the report, the parameter label will be as shown in the following image:

Preview report with customized parameter label

In this section, we have provided the steps to modify the parameter label based on another parameter value. Similarly, you can also modify the parameter label for various other scenarios like changing the culture of the parameter label or selecting dataset fields as parameter labels using the SfExp feature.

See also

Add report parameter to the report