The definition of a report (report definition) is based on several individual files. These files can either be saved on the file system, or in a Notes database. A complete report definition consists of the following files:
Report properties |
|
Lists and labels: |
*.NTP |
Report layout |
|
Lists: |
*.LST |
*.LSV |
|
*.LSB (optional: Printer settings) |
|
Labels: |
*.LBL |
*.LBV |
|
*.LBP (optional: Printer settings) |
The report properties contain basic information of a report, such as the fields and variables used. The report layout contains the exact physical appearance of the report. Both pieces of information have to be available during the report execution. Dependant on the type of report initialization (NTPInit or NTPInitFromDatabase) the report layouts are expected in different places:
NTPInit – The report files are expected on the hard drive in the directory specified in the NTP.INI.
NTPInitFromDatabase – The report files are expected in the database specified in the command in a special view.