### Creating a parameter field

Use the following steps to create a parameter that enables the user to specify a list of customers for a specific country. This procedure is made up of two sets of steps. The first is creating the parameter, and the second is using the Select Expert to incorporate the parameter.

###### To create a parameter field

1. Check to make sure your report is open in the Design tab.

   This procedure uses Group.rpt, a sample report that is included with the Seagate Crystal Reports Software.

1. On the Insert menu, click Parameter Field.

   The Field Explorer appears with Parameter Fields selected.

2. Click New.

   The Create Parameter Field dialog box appears.

3. Enter a name for the parameter in the Name field (up to 255 alphanumeric characters).

   This example uses Country.

4. Enter the desired prompting text in the Prompting Text field (up to 255 alphanumeric characters).

   This is the text that appears in the Enter Parameter Values dialog box when the report is refreshed. This example uses Select a Country.

5. Use String as the Value Type.

6. Click Set Default Values.

   The Set Default Values dialog box appears.

7. Check to make sure the Browse table is set to Customer.
8. From the Browse field drop-down list, select Country.
9. Click >> to move all of the countries to the Default Values area.

   This example will enable the user to choose from any of the countries. If you want to limit the selection, move only the countries you would like the user to choose from.

10. Click OK.

    The Create Parameter Field dialog box appears.

11. Click OK.

    The Field Explorer dialog box appears with the Country parameter selected.

12. Click Close.

1. Drag and drop the Country parameter into your report.

Seagate Software, Inc. http://www.seagatesoftware.com Please send comments to: techpubs@seagatesoftware.com