NTPSetReportPath

 

NTPSetReportPath ( <NewReportPath> ) -> <ErrorCode>

 

 

Description

 

This command sets the directory from which NotesToPaper reads report definitions. By default this setting is read from the configuration file NTP.INI. If the report file is set via this option, then any entry in the configuration file is ignored. This function makes it possible to do without the NTP.INI or change report directories at run-time.

 

 

Note: In order for NotesToPaper to start using the NTP.INI again, the function is cleared by calling an empty string or by use of the NTPClearReportPath command.

 

 

Note: The command NTPSetReportPath should be the first command in a script, as most other commands access the report directory settings!

 

 

Declaration for Lotus Script

 

Declare Function NTPSetReportPath Lib "NTP.DLL" ( ByVal NewReportPath As String ) As Long

 

 

Parameter

 

<NewReportPath> (STRING)

Directory containing the report definitions.

 

 

Return value

 

<ErrorCode> (LONG)

Number of the error encountered (0 = no error)