Language:


Using Variables and Formulae - Printing a Variable

Having declared the variable and assigned a value to it, you now need to place the variable in the report layout so that it is printed in the correct place.
  1. Change to the 'Layout' card.

  2. Since the variable will contain the number of Customers listed in the report, it should be printed at the end of the report in the footer. Click on the Report Footer section to select it and then click the [Formula] button. The 'Formula' dialogue box opens:

  3. Enter the name of the variable in the Formula field, specify appropriate left and right co-ordinates and choose a justification.

  4. When you click [OK], the variable is placed in the correct position in the Report Footer section. In the illustration, we have also added some identifying text:

    This is the result: