Report Configuration Parameters (Application Level)
The following table gives a brief description of the parameters that can appear in the ProductLine.cfg, SystemCode.cfg, and ProgramCode.cfg files. If a parameter code does not appear in any file, its default value is used.
Parameter | Description |
---|---|
BANNERPGBRK - or - INITIALPGBRK |
The default is OFF. ON creates a page break each time the report banner appears. |
CACHE FileName nn |
Turns caching on for the database file used by a program, if this parameter is present in the program configuration file. Note: This parameter can be used only in a ProgramCode.cfg file; its meaning is specific to one program
and cannot be applied globally to a system code.
For more information on caching, see the Lawson data access manual for your database. |
CSV_OPTION_DISPLAY |
The default, ON, enables the printing of the CSV file information structure into the job log file. Change to OFF to disable this function. |
STATSFILE FileName | Specifies a file for the output from caching. |
CACHESTATS TRUE | Turns on the caching statistics feature. |
NOKEYBRK ReportName - or - NOKEYBRK |ALL |
The default, OFF, turns off automatic key-level page breaking for a specified report, causing pages to break only at page overflow. This parameter is intended for use in reports that use the $STDHDR parameter and have only one report group defined. NOKEYBRK ensures that pages will break correctly in this report format. ON allows automatic key-level page breaking. To change the NOKEYBRK parameter for all reports in the program, leave the report name blank, or add the ALL parameter. |
RUNTIME_XML_ENABLE -or- RUNTIME_XF_FILES |
Setting to ON enables the runtime generation of XML and CSV files for reports. The XML files are for internal use, and the CSV files are for use with spreadsheet programs. The default for this parameter is OFF. After you set this to ON, you can set the RUNTIME_CSV, RUNTIME_XML, RUNTIME_PDF, RUNTIME_TXT, RUNTIME_ADO, RUNTIME_CSV_TOT_GRPS, and RUNTIME_LOC_PROP parameters in order to determine which types of files are actually generated. You can also use the bldxffiles utilities to create the XML and CSV files for report programs. See the System Utilities Reference Guide. |
RUNTIME_CSV | Setting to ON causes CSV files to be generated when a report program is run. |
RUNTIME_XML | Setting to ON causes XML files to be generated when a report program is run. Currently, these XML files are for internal Lawson use only. |
RUNTIME_ADO | Setting to ON causes a set of XML files used by the OLE DB server to be generated when a report program is run. |
RUNTIME_PDF | Setting to ON causes PDF files to be generated when a report program is run. |
RUNTIME_TXT | Setting to ON causes HTML files to be generated when a report program is run. |
RUNTIME_CSV_TOT_GRPS | Setting to ON means that the CSV file for a report will include total groups. If this parameter is set to OFF, then any total groups identified with the $TOTOFGRP keyword will be skipped. |
RUNTIME_LOC_PROP | Setting to ON means that the .prop and .grp files are created in the print director. If this parameter is set to OFF, the global .prop and .grp files in the RptMap directory are used. In either case, .prop and .grp files are generated if they do not already exist or if their timestamps do not match the RptMap. |
RPTPAGESIZE - or - DFLTPAGESIZE |
60 is the default. 20-99 resets the number of lines per page on reports using the Lawson default. If you find that the report page sizing is not correct for printers on your system, you can reset this parameter to any number from 20-99. Setting the parameter to "59" will prevent most laser printers from printing a blank page when a page overflow occurs. This parameter overrides the default only when the $PAGESIZE parameter is not specified in the .rpt file or when $PAGESIZE has been set to 60 or 66. |