PdcCalculation.Parent: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
Created page with "== Declaration == == Description == == Notes == == Code example == <source lang="vb"> </source> == Availability =="
 
No edit summary
 
Line 1: Line 1:
== Declaration ==
== Declaration ==
 
Parent as [[PdcCalculation]]


== Description ==
== Description ==
 
Returns the calculation above itself


== Notes ==
== Notes ==
 
This property returns the 'Parent' calculation from the current calculation if available.


== Code example ==
== Code example ==
 
This code example returns the parent of the active calculation.


<source lang="vb">
<source lang="vb">
dim objCalc
dim objParentCalc


  set objCalc = pdc.ActiveCalculation
  If IsValid(objCalc.Parent) Then
    set objParentCalc = objCalc.Parent
  End If
</source>
</source>


== Availability ==
== Availability ==

Latest revision as of 10:08, 21 May 2012

Declaration

Parent as PdcCalculation

Description

Returns the calculation above itself

Notes

This property returns the 'Parent' calculation from the current calculation if available.

Code example

This code example returns the parent of the active calculation.

dim objCalc
dim objParentCalc

  set objCalc = pdc.ActiveCalculation
  If IsValid(objCalc.Parent) Then
    set objParentCalc = objCalc.Parent
  End If

Availability