PdcCalculation.Children: Difference between revisions
Jump to navigation
Jump to search
Created page with "== Declaration == ChangeStock(strMatNr as String, dblMutatie as double) == Description == Changes the stock for the supplied material number. == Notes == This method will ad..." |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Declaration == | == Declaration == | ||
Children as [[pdcCalculationList]] | |||
== Description == | == Description == | ||
Returns the CalculationList object. | |||
== Notes == | == Notes == | ||
This | This property returns the CalculationList object for the subcalculations of the calculation object. | ||
== Code example == | == Code example == | ||
This code | This code example loops through the subcalculations of a calculation and returns the description. | ||
<source lang="vb"> | <source lang="vb"> | ||
dim | dim objCalc | ||
dim | dim objSubCalc | ||
dim intCount | |||
set objCalc = pdc.ActiveCalculation | |||
set | |||
for intCount = 0 to objCalc.Children.Count -1 | |||
set objSubCalc = objCalc.Children(intCount) | |||
msgbox objSubCalc.Description | |||
next | |||
msgbox | |||
</source> | </source> | ||
== Availability == | == Availability == | ||
Latest revision as of 10:36, 23 April 2012
Declaration
Children as pdcCalculationList
Description
Returns the CalculationList object.
Notes
This property returns the CalculationList object for the subcalculations of the calculation object.
Code example
This code example loops through the subcalculations of a calculation and returns the description.
dim objCalc
dim objSubCalc
dim intCount
set objCalc = pdc.ActiveCalculation
for intCount = 0 to objCalc.Children.Count -1
set objSubCalc = objCalc.Children(intCount)
msgbox objSubCalc.Description
next