NTPEnd

 

NTPEnd ( <ReportHandle> ) -> <ErrorCode>

 

 

Description

 

Ends the transfer of field contents from a LotusNotes application to NotesToPaper. After calling this command, no further data can be transferred to the report. Further attempts to transfer data cause an error message.

 

 

Note: Calling the NTPEnd command restores the report handle to "no longer valid", i.e. commands can no longer be called with this <Report>Handle>!

 

 

Declaration for Lotus Script

 

Declare Function NTPEnd Lib "NTP.DLL" ( ByVal ReportHandle As Long ) As Long

 

 

Parameter

 

<ReportHandle> (LONG)

Report handle, returned by calling NTPInit or NTPInitFromDatabase.

 

 

Return value

 

<ErrorCode> (LONG)

Number of the error encountered (0 = no error)