It is one of the three main components of the Data Provider output-based declarative language.
Sometimes it is necessary to make internal calculations that do not necessarily have to go into the Output itself. Variables are used in this case, in a Data Provider Group statement.
<variableStatement>::= <&var> '=' <Formula>
View Syntax conventions
Is the name of the variable.
Is the same as in Data Provider Element statement.
&TotalCustomers = 0
CustomerId = CustomerId
CustomerName = CustomerName
&TotalCustomers = &TotalCustomers + 1
Total = &TotalCustomers