PdcStatusManagement.SetManualStatus
Declaration
SetManualStatus(CalculationNo as String,ID as long) as Boolean
Description
Notes
This function allows the user to set an manual status for the calculation. When the given id is an id of an automatic status the function returns false. The error given is stored in pdc.LastError.
Code example
This code example shows the calculationnumber, current status and previous status of the active status object.
pdc.Calculations.StatusInfo.SetManualStatus("11-08451",1)
msgbox "Cn: " & objStat.CalculationNo
msgbox "Cur: " & objStat.CurrentStatus
set objStat = nothing
Availability
Available since version 4.3 onwards.