You can edit the properties of inserted queries in report scripts. In design view, you can set the assigned data and parameters of the inserted queries.
Procedure
In the Structure column, right-click a query.
Click Properties in the pop-up menu.
Specify the relevant settings and click OK.
Your changes are transferred to the report script.