To create a parameter with a dynamic prompt

  1. Open the sample report called Group.rpt.

    Sample reports are located on the SAP Business Objects Support web site.

  2. On the View menu, click Field Explorer.

    The Field Explorer dialog box appears.

  3. Select Parameter Fields and click New.

    The Create New Parameter dialog box appears.

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

    This example uses Region.

  5. In the List of Values area, click Dynamic.
  6. Ensure that New is selected in the Choose a Data Source area.
  7. Click Insert, and from the Value list, select Region.
  8. In the Value Options area, enter the desired prompting text in the Prompt Text field (up to 255 alphanumeric characters).

    This is the text that appears in the "Enter prompt values" dialog box when the report is refreshed. This example uses "Select a Region."



  9. Click OK.
  10. Return to the Field Explorer dialog box, and drag the Region parameter into your report.

When you look at your dynamic prompt within Crystal Reports, it does not seem to be much different from a static prompt. In the background, however, Crystal Reports stores the information about the list of values that you created for this prompt. When the report engine requires a parameter that has a dynamic prompt, it will access the data source and populate the list of values automatically. This will be displayed on the end user prompt page. If you choose to publish the report to SAP BusinessObjects Business Intelligence platform or Crystal Reports Server, the list of values becomes a separate entity that you can optionally schedule in Business Views Manager.