Defining or Editing a Variable

As with many other elements, all defined variables are visible in the Outline view, where you can create a new variable and edit its properties in the Properties view.

To define a new variable:

1. In the Outline view, right click the Variables item and select Create Variable. A new variable is added to the list of variables.
2. Click to select the new variable. The Properties view shows information about the new variable.
3. In the Properties view, click the Object tab.
4. Update the variable properties. See Base Properties of a Variable for information on these options.

Jaspersoft Studio has some built-in variables that are present in every report. These variables can't be edited. You'll notice their names are light gray; other variables are black. For more information see Built-In Variables