Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2022.2 Object Library
PCDLRN ActiveX DLL > ReportWindow Object : CustomReportCount Property
CustomReportCount Property
Description
This read-only property returns the number of Custom Reports defined for the current measurement routine.
Property type
Read-only property
Syntax
Visual Basic
Public Property CustomReportCount As Long
Return Type
Read-only Long value representing the number of custom reports created for the current measurement routine.
Remarks

Sub Main

Dim App As Object

Dim PartProg As Object

Dim RepWin As Object

Set App = CreateObject("Pcdlrn.Application")

Set PartProg = App.ActivePartProgram

Set RepWin = PartProg.ReportWindow

 

' Displays the number of custom reports

MsgBox "This measurement routine uses " & RepWin.CustomReportCount & " custom reports."

End Sub

See Also