PdcStatusManagement.NewStatusInfo: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
Created page with "== Declaration == NewStatusInfo as PdcStatusInfo == Description == == Notes == This property returns the status info object. This property can be used to check the stat..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
dim objStat
dim objStat


   set objStat = pdc.Calculations.StatusInfo.NewStatusInfo
   set objStat = pdc.Calculations.StatusManagement.NewStatusInfo
   msgbox "Cn: " & objStat.CalculationNo
   objStat.CalculationNo = "01288"
   msgbox "Cur: " & objStat.CurrentStatus
   msgbox "Cur: " & objStat.CurrentStatus
   set objStat = nothing
   set objStat = nothing

Latest revision as of 06:16, 17 September 2013

Declaration

NewStatusInfo as PdcStatusInfo

Description

Notes

This property returns the status info object. This property can be used to check the status of an calculation.

Code example

This code example shows the calculationnumber and current status of the given status object.

dim objStat

  set objStat = pdc.Calculations.StatusManagement.NewStatusInfo
  objStat.CalculationNo = "01288"
  msgbox "Cur: " & objStat.CurrentStatus
  set objStat = nothing

Availability

Available since version 4.3 onwards.