NTPReportList

 

NTPReportList ( <ReportNameBuffer> ) -> <ErrorCode>

 

 

Description

 

Creates an on-screen selection dialogue containing all reports available to this user. The end user may select any report from this list. All reports that bear the flag "report released" (see NotesToPaper Setup) are shown.

This dialogue displays only reports saved as files in directories on the file system. If reports saved in databases are to be displayed, use the NTPReportListFromDatabase command instead.

 

 

Note: Limitations to the reports displayed in this selection dialogue may be achieved by calling NTPReportListAddCategory before executing this function.

 

 

Note: The command requires a buffer, created by Lotus Script, in order to be able to receive the selected report name.

 

 

Declaration for Lotus Script

 

Declare Function NTPReportList Lib "NTP.DLL" ( ReportNameBuffer As String ) As Long

 

 

Parameter

 

<ReportNameBuffer> (STRING)

Buffer to accept the selected report name. The buffer has to be created by Lotus Script (e.g. Buffer = Space ( 255 ) )

 

 

Return value

 

<ErrorCode> (LONG)

Number of the error encountered (0 = no error)