Hi.
Is there a way to determine if the Err object is "enabled" (for lack of a better term)?
I am trying to force an error calling a stored prodedure that doesn't exist. I have [tt]On Error Resume Next[/tt] at the top of the page, and this directly after the [tt].Execute[/tt] call:
however, strError is always blank. When I comment out the On Error Resume Next, the page barfs, showing me the expecting "stored procedure does not exist" error.
what's up with this?
*cLFlaVA
----------------------------
[tt]"quote goes here"[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
Is there a way to determine if the Err object is "enabled" (for lack of a better term)?
I am trying to force an error calling a stored prodedure that doesn't exist. I have [tt]On Error Resume Next[/tt] at the top of the page, and this directly after the [tt].Execute[/tt] call:
Code:
If Err.Number <> 0 Then
strError = Err.Description
End If
however, strError is always blank. When I comment out the On Error Resume Next, the page barfs, showing me the expecting "stored procedure does not exist" error.
what's up with this?
*cLFlaVA
----------------------------
[tt]"quote goes here"[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]