NTPReportListAddCategory

 

NTPReportListAddCategory ( <Category> ) -> <ErrorCode>

 

 

Description

 

This command limits the selection of reports presented in the dialogues created by calling NTPReportList or NTPReportListFromDatabase. Every call of this function sets an additional report category (see NotesToPaper Setup) so the next call of the selection dialogue will only show reports compatible to those "filter settings". Setting reports to a certain category is accomplished in NotesToPaper Setup.

 

 

Note: After calling NTPReportList or NTPReportListFromDatabase the categories list is automatically cleared. It may also be cleared by use of the NTPReportListClearCategory command.

 

 

Declaration for Lotus Script

 

Declare Function NTPReportListAddCategory Lib "NTP.DLL" ( ByVal Category As String ) As Long

 

 

Parameter

 

<Category> (STRING)

Name of the category to be set.

 

 

Return value

<ErrorCode> (LONG)

Number of the error encountered (0 = no error)