You can create variables in the Designer Data Dictionary and use them in expressions. If you specify the name of the variable in the expression, the value of the variable is included in the report. The syntax is the name of the variable enclosed in curly braces. For example, if you set the value of the variable to 5 and enter the following expression:
Value = {MyVariable}
After the calculation, the result displayed in the report is as follows.
Value = 5
Calculation using variables
Variables can also be used in calculations. For example, if the value of MyVariable is 15, enter the following expression:
Value = {MyVariable + 10}
After the calculation, the result displayed in the report is as follows.
Value = 25
important:If the reporting language is C #, the variable names are case sensitive. If the reporting language is VB.Net, the variable names are not case sensitive.