PdcCalculations.New: Difference between revisions
Jump to navigation
Jump to search
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..." |
No edit summary |
||
Line 14: | Line 14: | ||
dim objCalc | dim objCalc | ||
set objCalc = pdc. | set objCalc = pdc.Calculations.New | ||
objCalc.Save | objCalc.Save | ||
objCalc.Show | objCalc.Show |
Latest revision as of 12:12, 11 April 2014
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).