SetHTMLFileName

Description

Sets the output file name for the report.

Note: This method is for Windows™ only.

You must call this method before calling the ExecuteReport method to set the name and location of the report output file. You specify output path information in the htmlPathName parameter to put the report in a specific location.

The htmlPathName parameter requires a full path name to the file to be created. If the file is to be exported to the current directory, a file separator must be included before the name of the file. For example:
$CQReportMgr->SetHTMLFileName("\\Output.html");

You must specify a directory for the HTML file or add a backslash ("\") before the file name. For Perl, use two backslashes ("\\"). For example:

  • VBScript:
    
    c:\test.html 
    
    \test.html
    
  • Perl:
    
    c:\\temp\\my-report.html
    
    \\my-report.html
    

Syntax

VBScript


reportMgr.SetHTMLFileName htmlPathName 

Perl


$reportMgr->SetHTMLFileName(htmlPathName); 
Identifier
Description
reportMgr
The ReportMgr object associated with the current session.
htmlPathName
A String containing the path name for the report file.
Return value
None.