PdcCalculations.New

From External Bemet Wiki
Revision as of 12:12, 11 April 2014 by TC (talk | contribs)
(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.Calculations.New
  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).