|
VADELIA |
|
WADELIA |
|
|
(B) (C/S) |
|
(B) (C/S) |
|
Warning: The description below does not apply to VADELIA batch programs with reports of Adelia kind.
Section for use
All
Syntax
PRINT ReportLayout Subreport
ReportLayout |
Þ |
ReportLayout | None |
Subreport |
Þ |
*SUBREPORT(SubreportName) | None |
Note: Uppercase and lowercase characters are taken into account in SubreportName.
Description
This instruction can be used to insert a new record in a pseudo-database, which will feed the report when it is printed. This record is made up of current values taken from the layout fields placed in the main report or in a subreport SubreportName of the main report, if the *SUBREPORT parameter is used.
The layout code is optional. If it is not specified, the system will assume that the layout is the one bearing the name of the model.
Important note: This instruction does not move file fields to layout fields, as it is the case for the PRINT_VIEWS instruction.
Example
* Batch to print orders by customer
READ ORDERS
DO_WHILE ORDERS EXISTS
PRESENT ORDERS
READ ORDERS
REDO