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
  3.  
  4. 'procedure code goes here
  5.  
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.