PdcApplication.OpenCalculation: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
== Declaration ==
== Declaration ==
 
OpenCalculation(CalculationNo as String) as [[PdcCalculation]]


== Description ==
== Description ==
 
Opens and returns an existing Calculation object


== Notes ==
== Notes ==
The open calculation method returns an existing calculation object, without form. To show this calculation, you have to call the 'Show' method of the calculation object.


Calculation number Number of the calculation that should be opened


== Code example ==
== Code example ==
 
This example opens calculation 0801-000087 and shows it in PdC.


<source lang="vb">
<source lang="vb">
Dim objCalc


  set objCalc = pdc.OpenCalculation("0801-000087")
  objCalc.Show
</source>
</source>


== Availability ==
== Availability ==
Available since June 2006 (From version 3.7).

Latest revision as of 09:39, 16 September 2014

Declaration

OpenCalculation(CalculationNo as String) as PdcCalculation

Description

Opens and returns an existing Calculation object

Notes

The open calculation method returns an existing calculation object, without form. To show this calculation, you have to call the 'Show' method of the calculation object.

Calculation number Number of the calculation that should be opened

Code example

This example opens calculation 0801-000087 and shows it in PdC.

Dim objCalc

  set objCalc = pdc.OpenCalculation("0801-000087")
  objCalc.Show

Availability

Available since June 2006 (From version 3.7).