Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.2 Object Library
PCDLRN ActiveX DLL > ReportWindow Object : CurrentReport Property
CurrentReport Property
Description
This read-only property returns the full directory pathway to the Custom Report or Report Template used in the Report window.
Property type
Read-only property
Syntax
Visual Basic
Public Property CurrentReport As String
Return Type
Read-only String value representing the full directory pathway of the custom report or report template.
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 current custom report or template

MsgBox "This measurement routine uses this custom report or template: " & RepWin.CurrentReport

End Sub

See Also