ExternalReportViewers.Add

Syntax

ExternalReportViewers.Add( format, path, arguments, autoLaunch)

Purpose

Adds a new external report viewer to the collection.

Parameters

format As String

[In] When you specify an external report viewer, you must indicate the external report viewer name and the report format, such as Microsoft Notepad ( txt ) or Google Chrome ( html ).

path As String

[In] Specifies the name for the external report viewer to launch.

arguments As String

[In] Specifies the optional command-line arguments required to launch the external report viewer.

autoLaunch As Boolean

[In] Specifies the external report viewer to automatically launch when the report is generated. Pass True to automatically launch the external report viewer and show the report.

See Also

ExternalReportViewers.Remove