VSView Reporting Edition Reference > VSReport Control > VSReport Properties > ReportName Property |
Returns or sets the name of the report.
[form!]VSReport.ReportName[ = value As String ]
The ReportName property identifies the report when it is saved in a report definition file. To retrieve the report from the report definition file, you need to use the Load method and pass this name as a parameter. For example:
' load report from XML file
vsr.Load App.Path & DataFileName, "Employees"
' show report name
Debug.Print vsr.ReportName
Employees
Note that several reports may be saved in a single report definition file. You should ensure that each report has a unique name, or you won't be able to retrieve all reports from the file.
String