On Error code
Posted by: fredometro on
Jan 1st, 2004 |
Filed under: MS-Access
A nice error handling routine.
FunctionName_Error:
Select Case Err
Case Else
Select Case MsgBox("An unexpected error has occoured in FunctionName", vbCritical + vbAbortRetryIgnore)
Case vbRetry: Resume
Case vbIgnore: Resume Next
Case vbAbort: Resume FunctionName_Exit
End Select
No related posts.

Tags:
Add A Comment
You must be logged in to post a comment.