ComponentOne VSView Reporting Edition
ReportName Property

Returns or sets the name of the report.

Syntax

[form!]VSReport.ReportName[ = value As String ]

Remarks

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.

Data Type

String

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback