Try OpenEdge Now
skip to main content
Deploying Crystal Reports
Crystal Reports and Database Security : Using password protection : Creating a new report parameter
 

Creating a new report parameter

The following procedures demonstrate how to create a new report parameter that will enable password protection for the Customer report. You will need to open Customer.rpt to follow these examples.
To create a new report parameter:
1. In the Field Explorer area, right-click Parameter Fields and click New. The Create Parameter Field dialog box appears:
2. Type Password in the name field.
3. Type Enter your password to view restricted information in the Prompting text field.
4. Select String from the Value type drop-down menu.
5. Select Discrete value(s) from the Options list and click Set default values. The Set Default Values dialog box appears:
6. Type password in the Edit mask field. This will hide the entry value with asterisks. Click OK.
7. At the Create Parameter Field dialog box, click OK.
Now that you have created a new parameter field, you can create a password that will be associated with it.