PdcCalculation.CalculateLeadTime
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