Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.2 Object Library
PCDLRN ActiveX DLL > ReportWindow Object : GetCustomReportName Method
Long value representing the specific custom report in a collection of custom reports.
GetCustomReportName Method
Description
Returns the name of the custom report name associated with the index value.
Syntax
Visual Basic
Public Function GetCustomReportName( _
   ByVal index As Long _
) As String
Parameters
index
Long value representing the specific custom report in a collection of custom reports.
Return Type
String value representing the name of the custom report.
Remarks

This only returns the file name for the custom report, not the full directory pathway to the file.

Index value for the first report starts at 0.

Example

If you have 5 custom reports for the current measurement routine, a value of 0 would return the first report's name, a value of 6 would return the fifth report's name.

See the LoadCustomReport method for an example of this.

See Also