#### How to define a dynamic query

1. On the Query page of a data set, define a SQL query, such as:

    SELECT CUSTOMERNAME FROM CUSTOMERS

2. Create a table in the report layout that uses this data set.
3. Create a report parameter, such as a String parameter called "passName".
4. In Edit Data Set, choose Property Binding, and define the query text to use the report parameter that you created:

    "SELECT CustomerName From CUSTOMERS WHERE CustomerName LIKE '" + params["passName"] + "'"

5. Choose OK.