PdcApplication.NewCalculation: 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 == | ||
NewCalculation as [[PdcCalculation]] | |||
== Description == | == Description == | ||
Returns a new Calculation Object | |||
== Notes == | == Notes == | ||
This method creates a new calculation object, without form. To show the new calculation, you have to call the 'Show' method of the calculation object. | |||
== Code example == | == Code example == | ||
This code creates a new calculation object. The calculation number can only be retrieved after the Save. | |||
<source lang="vb"> | |||
dim objCalc | |||
set objCalc = pdc.NewCalculation | |||
objCalc.Save | |||
msgbox "You have now created a new calculation with number " & objCalc.CalculationNo | |||
</source> | </source> | ||
== Availability == | == Availability == | ||
Available since June 2006 (From version 3.7). |
Latest revision as of 10:56, 21 May 2012
Declaration
NewCalculation as PdcCalculation
Description
Returns a new Calculation Object
Notes
This method creates a new calculation object, without form. To show the new calculation, you have to call the 'Show' method of the calculation object.
Code example
This code creates a new calculation object. The calculation number can only be retrieved after the Save.
dim objCalc
set objCalc = pdc.NewCalculation
objCalc.Save
msgbox "You have now created a new calculation with number " & objCalc.CalculationNo
Availability
Available since June 2006 (From version 3.7).