Creating Parameter

We can easily create the parameter in Crystal Report. For creating the Parameter follow these steps,

First go to Field Explorer -> Parameter Field -> New.

1

Now, we see the box on our Window screen. Here, set the,
  • Parameter name
  • List of the values -> Dynamic option
  • Prompt Group Text
  • Data Source -> value, description, parameters
  • Value options -> allow multiple value -> true
2

After completing all the process now, we see our parameter name in the Field Explorer.

3

If you want to show the working of the parameter in out report, first go to Design page of the report and drag the parameter name from the Field Explorer.

4

When we go to our preview page, we find this box in our Window. Here, we choose our fields which, we want to show in the report and click OK.

5

Now, on Preview page, see the modified output.

6

Delete Parameter

We can also delete the parameter, go to Field Explorer -> Right click on Parameter Name -> Delete.

7

Summary

Thus, we learnt the use of the parameter in Crystal Report.