Variables can be created in the Designer Dictionary for later use in expressions. By specifying the name of a variable in an expression, the value of the variable will be called and included in the report. The proper syntax is the name of the variable inside of curly brackets. As an example, if you’ve set the variable equal to 9 and you enter the following expression:
Value = {MyVariable}
The result of this will be:
Value = 9
Calculating with Variables
Variables can also be inserted into calculations. For example, if you’ve set MyVariable to 12 and entered the following expression:
Value = {MyVariable + 8}
The result of this will be:
Value = 25
In VB.NET, the variable names ARE NOT case sensitive. In C#, the variable names ARE case sensitive.




