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.
- Change to the 'Layout' card.
- 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:
- Enter the name of the variable in the Formula field, specify appropriate left and right co-ordinates and choose a justification.
- 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:
Please click the links below for more details about: