PdcCalculation.CalculateLeadTime

From External Bemet Wiki
Revision as of 11:26, 31 July 2013 by Mike (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Declaration

CalculateLeadTime(showLog as Boolean) as long

Description

This method calculates the lead time of a calculation. With the boolean it is possible to specify if the function also should show the calculated lead time log.

Notes

Code example

This code example calculates the lead time of an active calculation and shows the logfile.

Sub sCalcLeadTime
dim objCalc

  set objCalc = pdc.ActiveCalculation

  msgbox objCalc.CalculateLeadTime(true)

  set objCalc = nothing
End Sub

Availability