Previous TopicNext Topic


How to bind a data set parameter to a report parameter

This procedure assumes you already created a table or list that uses the data set which contains the data set parameters.

  1. Select the table element or list element that uses the data set.
  2. Property Editor displays the properties of the table or list.
  3. At the bottom of Property Editor, choose Binding.
  4. The binding page appears. This page shows the data set parameters you defined for the data set. The following illustration shows two parameters defined for a data set called Customers. The values under Value are the default values you specified for the data set parameters.

  5. Replace the default value under Value with the appropriate report parameter value using the following steps:
    1. Select the item under Value.
    2. The default value disappears. A button appears on the right of the empty field.
    3. Choose the ellipsis (...) button on the right.
    4. Expression Builder appears.
    5. Under Category, expand Report Parameters.
    6. The report parameters you created appear under Report Parameters, as shown in the following illustration.

    7. Double-click the report parameter you want to bind to the data set parameter.
    8. The report parameter appears in the expression area.

    9. Choose OK.
    10. The binding page appears. Value shows the report parameter to which the data set parameter is bound.

  6. Repeat step 3 for any other data set parameters defined in this data set.
  7. Test the parameters to verify that the query is updated with user-specified values and that the report shows the results you expect.
    1. Choose Preview.
    2. Enter Parameters displays all the report parameters you created. The following illustration shows how report parameters appear when you use the default display options.

    3. Specify values for the parameters, then choose OK.
    4. If you completed all the tasks described so far in this chapter, the WHERE clause of your query is updated with the specified values, and the report displays the rows that match the WHERE clause.

(c) Copyright Actuate Corporation 2006

Previous TopicNext Topic