PC-Dmis 2010 MR3 Object Library | Send comments on this topic. | See Object Hierarchy Chart
LastExecutionReportMode Method
See Also

Collapse All Expand All

# Description

Switches to Last Execution Report Mode This method switches the report window to Last Execution Report Mode.

# Syntax

Visual Basic

    Public Function LastExecutionReportMode() As Long

# Return Type

Long value. This returns -1 (or True) if the function succeeds and 0 (or False) if it does not.

# Example

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

lngRetVal = RepWin.LastExecutionReportMode()

MsgBox "PC-DMIS returned " & lngRetVal & " for setting the Report window to Last Execution Report mode."

RepWin.RefreshReport

End Sub

# See Also

ReportWindow Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.