Variables Management Tool (Magic xpa 3.x)
Click on the Report Generator Design Toolbar to add and remove Variables and User Questions to your report.
-
To add a new variable, press the Add Variable button, enter the variable name, select the variable type, and click OK to open a Column Properties dialog box.
-
Create an expression by dragging and dropping Functions, Operations, or Variables (variable names are preceded by ~) from the right list to the left working area.
-
Click Test to check if the expression you created is valid.
-
Click OK to complete the new variable creation.
The User Questions mechanism lets you ask the user who will run the report questions that will influence the report result data.
Click the Add User Question button, enter the Name and Question type in the Add New Variable dialog box, and click OK to continue. You can later find your question by this name in the Expression Editor.
In the User Question dialog box, enter the question you want the user to see and the default value of the answer.
To remove a variable or user question you added to the report, select the variable you want to remove and click the Remove variable button.
The Remove variable button is only applicable for variables and user questions you created in the Report Generator.