Data Provider Variable statement

Official Content
This documentation is valid for:

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 in the Output itself. Variables are used in this case, in a Data provider Group statement.

Syntax

<variableName> '=' <Formula>

where: 

<Formula> is the same as in Data provider Element statement

Example

Customers
{
   &TotalCustomers = 0
   Customer
   {
      CustomerId = CustomerId
      CustomerName = CustomerName
      &TotalCustomers = &TotalCustomers + 1
   }
   Summary
   {
      Total = &TotalCustomers 
   }
}







Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.