PC-DMIS 2021.1 Object Library
CurrentReport Property
See Also  Send Topic Feedback | See Object Hierarchy Chart
PCDLRN ActiveX DLL > ReportWindow Object : CurrentReport Property

Glossary Item Box

Description

This read-only property returns the full directory pathway to the Custom Report or Report Template used in the Report window.

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

Copyright © 2020. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.