ReportSetFilename()

Syntax:

ReportSetFilename( Filename, Append, ReportNumber )

Return:

true if the log was successfully opened, false if any error occurred.

Parameters:

Filename – The full pathname of a file to save log messages into. The filename must end in '.log'. If it does not, '.log' will be appended automatically.

Append – Set to true to append new data to the existing contents, false to overwrite any existing contents This parameter is optional and the default is true.

ReportNumber – Identifier of report to set the filename for. It is possible to use up to 5 report files at once ReportNumber is zero based, so the reports are numbered 0 to 4. This parameter is optional and the default is 0.

Remarks:

This function sets the output file for Report logging actions.

image\Script_Button.jpgExamples