TRoper
14 years agoOccasional Contributor
Continue script after an error
Hi,
I would like to find a way to continue a script after an error. Here is the code I have in my script. The script stops when the return value is 7. How can I set the stop on error flag to continue?
Dim Value, strMessage
Value = MsgBox ("Was Observation Panel Correct?", 3, "Observation")
If Value = 7 Then
strMessage =Inputbox("What is wrong with the Observation Panel","Observation Panel")
Log.Error strMessage
Else
Log.Message "Observation Panel passed"
End If
Thank You
Steve
I would like to find a way to continue a script after an error. Here is the code I have in my script. The script stops when the return value is 7. How can I set the stop on error flag to continue?
Dim Value, strMessage
Value = MsgBox ("Was Observation Panel Correct?", 3, "Observation")
If Value = 7 Then
strMessage =Inputbox("What is wrong with the Observation Panel","Observation Panel")
Log.Error strMessage
Else
Log.Message "Observation Panel passed"
End If
Thank You
Steve