Operation Manual
Parameter Fields and Prompts
Creating a parameter with a cascading list of values
23
452 Crystal Reports User’s Guide
7. Ensure that New is selected in the Choose a Data Source area.
Note: If your report already contains a list of values, or if you want to pick
a list of values from your repository, you can select Existing and choose
an existing list of values from the tree structure.
8. Click Insert.
The program automatically expands the Value list. You use this area to
define the fields that make up your cascading list of values. This example
uses a cascade of Country, Region, and City.
9. From the Value list, select Country.
10. Click the blank field under Country and select Region.
11. Click the blank field under Region and select City.
12. In the Parameter Binding area, click Country and Region to clear the
binding (only the field that is associated with the City value should be bound).
In this step, you are choosing the field in your cascading hierarchy that
should be bound to the parameter field that you are creating. Because
this particular parameter is intended to provide Crystal Reports with a city
value, you bind the parameter to City.
13. In the Prompt Text field (in the Options area), enter additional prompting
text for each of the fields in your cascading list of values.
This is the text that appears in the “Enter prompt values” dialog box when
the report is refreshed.