Edit a query
- Last UpdatedFeb 04, 2025
- 1 minute read
You can edit an existing query in a report template or report document that has not yet been run. (After a report document is run, all queries are converted to actual data.)
You can either edit a query manually by typing changes in the query string or by using the Direct Query dialog box to select different options.
Both methods require that the field codes for the report document or template are visible. For more information, see About Field Codes.
To edit a query using the Direct Query dialog box:
-
In the report document or template, show the field codes so that you can see the query string.
-
Select the query string so that it is highlighted.
-
On the Historian tab, in the Edit Reports group, click Edit Query. The Direct Query dialog box appears.
The Selected query string appears in the Query window.
-
Either edit the query directly, or click the Query
button to start the Query client tool. For more information, see AVEVA Historian Client Query.
-
Change any of the options for the results. For more information, see Saving a Configured Report Document as a Report Template.
-
Click OK.