Create or edit SQL statements
- Last UpdatedFeb 05, 2025
- 1 minute read
During runtime, you can create or edit the SQL statement that is executed by the aaHistClientActiveDataGrid. This SQL statement is executed each time the aaHistClientActiveDataGrid is refreshed. If the SQL statement is invalid or if the refresh fails, the data grid is cleared, and an error message appears.
To create or edit a SQL statement
-
Right-click in the aaHistClientActiveDataGrid.
-
In the shortcut menu that appears, click SQL. The ActiveDataGrid Properties dialog box appears.
-
If the SQL tab is not already selected, click the SQL tab.
-
In the SQL statement window, create or edit the current SQL statement(s) that is executed.
-
To use a pre-configured template, click Templates. If not, go to Step 9.
The Templates dialog box appears.
-
In the Description list, select the template that you want.
-
Click Select.
-
The pre-configured SQL statement syntax appears in the SQL statement(s) window. You can then modify the syntax (for example, change the tagname, start date, and end date).
-
To delete all of the text in the SQL statement window, click Clear.
-
To apply the changes, click Apply or OK.