M
Maui80
I would like to include some error handling in my VBScript on my custom form.
I've tried the On Error GoTo statement, but I keep getting a Syntax Error.
Then I've tried
On Error Resume Next
.... code to check ...
If Err <> 0 Then
.... do stuff
End If
But my error catching code does not seem to execute (I'm pretty sure my code
to check has a runtime error in it)
Basically, I have the following procedure call in one of my events:
Item.GetInspector ...
I know that it fails sometimes. I'd like to catch the error if my statement
fails and handle it.
Any suggestions?
Thanks in advance!
I've tried the On Error GoTo statement, but I keep getting a Syntax Error.
Then I've tried
On Error Resume Next
.... code to check ...
If Err <> 0 Then
.... do stuff
End If
But my error catching code does not seem to execute (I'm pretty sure my code
to check has a runtime error in it)
Basically, I have the following procedure call in one of my events:
Item.GetInspector ...
I know that it fails sometimes. I'd like to catch the error if my statement
fails and handle it.
Any suggestions?
Thanks in advance!