FRM115 Writing Reports

Visual LANSA

FRM115 - Writing Reports

Objective:

  • To show how Forms and Functions can interoperate.
  • To use the CALL and EXCHANGE commands.
  • To introduce the SUBMIT command.
  • To explain how to enable functions for Full RDMLX.
  • To introduce the LANSA reporting templates.
  • To highlight the commands used to create a reporting function in LANSA.
  • To create a very simple report listing the sections in a department by executing a template.
  • To manually create an employee report listing the salary details for each department.
  • To introduce the following reporting commands:
  • DEF_LINE
  • DEF_HEAD
  • DEF_FOOT
  • DEF_BREAK
  • DEF_REPORT
  • PRINT
  • SKIP
  • SPACE
  • ENDPRINT
  • KEEP_xxxxx (KEEP_AVG, KEEP_COUNT, KEEP_MAX, KEEP_MIN, KEEP_TOTAL).

To achieve these objectives you must complete the following steps:

Step 1. Create a Simple List Style Report Using a Template

Step 2. Call a Function

Step 3. Enable For Full RDMLX

Step 4. Manually Create a Reporting Function

Step 5. Add a Header and Footer

Step 6. Keep Statistics and Print

Step 7. Add a Grand Total Line

Summary

Before You Begin

You may wish to refer to the following topics:

In order to complete this exercise, you should have completed the previous exercises.