NTPGetReportFileName

 

NTPGetReportFileName ( <ReportHandle>, <ReportFileBuffer> ) -> <ErrorCode>

 

 

Description

 

Retrieves the name of the preview file created by NTPProcessReport....  It is essential, that the report was created for the preview (see NTPProcessReport...) and the option NTPOPTION_KEEPREPORT was set. This option ensures the report is not immediately deleted after creation (and preview). In order for the selected file name to be recorded, a buffer produced by Lotus Script  must be given to the command.

 

 

Declaration for Lotus Script

 

Declare Function NTPGetReportFileName Lib "NTP.DLL" ( ByVal ReportHandle As Long, ReportFileBuffer As String ) As Long

 

 

Parameter

 

<ReportHandle> (LONG)

Report handle, returned by calling NTPInit or NTPInitFromDatabase.

 

<ReportFileBuffer> (STRING)

Buffer to accept the filename including path information. The buffer must be created by Lotus Script (e.g. Buffer = Space ( 255 ) )

 

 

Return value

 

<ErrorCode> (LONG)

Number of the error encountered (0 = no error)