General

 

Report definitions may, the storage in directories aside, be stored in databases. In order to be able to save report data accordingly and so that functions as

 

NTPInitFromDatabase

NTPGetFieldCountFromDatabase

 

can find the report files in a database, a "special view" has to be contained in the appropriate database.

Note: All functions that end on "...FromDatabase" use report layouts saved in databases.

 

This special view contains all report documents of a database and allows the various functions to access these files. The preparation of a database, the integration of this special view into the database, is taken care of by NotesToPaper Setup. The program offers commands to "create the view", and to later "remove the view" from the database.

 

Tip: This view may also be created via the Notes client in the database. In this case however, the definition of the view has to be exactly as defined in the definition of the design elements, as otherwise the NotesToPaper functions (or NotesToPaper Setup) may not be able to use and access the view thus making the report execution impossible.