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
Line 16: Line 16:


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

Revision as of 06:14, 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.StatusInfo.NewStatusInfo
  objStat.CalculationNo = "01288"
  msgbox "Cur: " & objStat.CurrentStatus
  set objStat = nothing

Availability

Available since version 4.3 onwards.