PdcCalculation.CalculateLeadTime: Difference between revisions
Jump to navigation
Jump to search
Created page with "== Declaration == == Description == == Notes == == Code example == <source lang="vb"> </source> == Availability ==" |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== Declaration == | == Declaration == | ||
CalculateLeadTime(showLog as Boolean) as long | |||
== Description == | == 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 == | == Notes == | ||
Line 9: | Line 9: | ||
== Code example == | == Code example == | ||
This code example calculates the lead time of an active calculation and shows the logfile. | |||
<source lang="vb"> | |||
Sub sCalcLeadTime | |||
dim objCalc | |||
set objCalc = pdc.ActiveCalculation | |||
msgbox objCalc.CalculateLeadTime(true) | |||
set objCalc = nothing | |||
End Sub | |||
</source> | </source> | ||
== Availability == | == Availability == |
Latest revision as of 11:26, 31 July 2013
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