The name of the file that contains the desired report.

Property of

ReportViewer

Description

Set the filename property to the file that contains the report class definition. Reports are stored in files with a .REP extension.

The .REP file is executed when you assign the filename property, even if the form is not open. Normally, report parameters (if any) are assigned to the params array before setting the filename property; if they are assigned after setting the filename property, you must call the ReportViewer object’s reExecute( ) method to regenerate the report.