Navigation: Templates > Template Language Reference > Complete Alpha Listing >====== #REPORTS (default report structures) ![]() | ![]() ![]() ![]() |
#REPORTS
structures
#ENDREPORTS
#REPORTS | Begins a default report data structure section. |
structures | Default REPORT structures. |
#ENDREPORTS | Terminates the default report section. |
The #REPORTS structure contains default REPORT data structures for a procedure Template. The default report structures provide a starting point for the procedure's report design.
The #REPORTS section may contain multiple structures which may be chosen as the starting point for the procedure's report design. If there is more than one report structure to choose from, the Application Generator displays a list of those structures available the first time the procedure's report is edited. The names of the windows which appear in the Application Generator's list comes from a preceding comment beginning with two exclamations and a right angle bracket (!!>).
If the procedure template contains a #DEFAULT procedure, there is no need for #REPORT, since the default report is already in the #DEFAULT. Therefore, the list does not appear when the report is first editted.
Example:
#REPORTS
!!> Report
Label REPORT,AT(1000,2500,6000,6000),THOUS
HEADER,AT(1000,1000,6000,1000)
END
Detail DETAIL
END
FOOTER,AT(1000,10000,6000,1000)
END
FORM,AT(1000,1000,6000,9000)
END
END
#ENDREPORTS