ReportView.UpdateFromFile

Syntax

ReportView.UpdateFromFile( fileName)

Purpose

Updates the content of the control from a file.

Remarks

The extension of the fileName parameter determines the report style of the control. For example, if fileName is C:\Reports\MyReport.html , the style is HTML.

Note This method returns an error if the ReportView control is currently attached to an execution.

Parameters

fileName As String

Specifies the full path of the report file.

See Also

Report.Format

ReportView General property page

ReportView.UpdateFromExecution