NTPEndDocument

 

NTPEndDocument ( <ReportHandle> ) -> <ErrorCode>

 

 

Description

 

Transfer of field contents stored in main memory into the spoolfile.  By this command, all of the data transferred (by NTPSend...) is interpreted as one data record and then saved in the spoolfile. The individual field values are linked to the fields contained in the report and saved. After saving the data, the field buffers are reset, so a subsequent NTPSend... command will automatically start a new data record.

 

 

Declaration for Lotus Script

 

Declare Function NTPEndDocument 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)