PdcCalculations.New

From External Bemet Wiki
Revision as of 12:08, 11 April 2014 by TC (talk | contribs) (Created page with "== Declaration == New as PdcCalculation == Description == Returns a new Calculation Object == Notes == This method creates a new calculation object, without form. To sh...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Declaration

New 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
  objCalc.Show

  msgbox "You have now created a new calculation with number " & objCalc.CalculationNo

Availability

Available since April 2014 (version 4.3 onwards).