ACCESS Error trap

/ Published in: Visual Basic
Save to your folder(s)

Copy this code and paste it in your HTML
  1. Sub Test()
  2. On Error GoTo Err_Trap
  4. 'procedure code goes here
  6. Err_Trap_Exit:
  7. Exit Sub
  8. Err_Trap:
  9. MsgBox Err.Description
  10. Resume Err_Trap_Exit
  11. End Sub

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.