Report Editor
Use this editor to maintain the properties of a report.
LN reports are used to output data from the database to a variety of devices, such as printers, displays, and files. One or more LN reports must be linked to an LN print session or to an LN SQL Query. The print session, or SQL Query, reads the data from the Database tables and the data is printed by the Report objects.
The contents and layouts of reports are defined in the data dictionary. You can link a report script to a report. In a report script, you can program actions you want to be performed at particular stages of the report execution. For example, you can create a script to perform calculations on the report data or to read records from related tables not automatically available to the report.
You program report scripts in the same way as you program 4GL program scripts, except report scripts use different event sections and special functions. A report script consists of one or more event sections. Here, you can program actions to be performed at particular states of execution of the report to which the report script is linked. The statements programmed in a report script section consist of a combination of 3GL language statements and report script functions.
The report editor consists of various tabs. Each tab is designed to view particular properties or to carry out specific tasks.