S
SAC
Access 2000
I'm trying to make an error 3021 - "No current record" skip over some code,
reset the error object and move on.
I've tried
Const conTypeMismatch As Integer = 3021
If Err.Number = conTypeMismatch Then
Err.Clear
GoTo Exit_MayCauseAnError
End If
But this is testing BEFORE the error occurs.
How can I fix this?
I don't think there's an ON ERROR 3021 goto...or is there?
That would be great.
Thanks.
I'm trying to make an error 3021 - "No current record" skip over some code,
reset the error object and move on.
I've tried
Const conTypeMismatch As Integer = 3021
If Err.Number = conTypeMismatch Then
Err.Clear
GoTo Exit_MayCauseAnError
End If
But this is testing BEFORE the error occurs.
How can I fix this?
I don't think there's an ON ERROR 3021 goto...or is there?
That would be great.
Thanks.