Posted By

goo on 08/27/08


Tagged

error access trap


Versions (?)

ACCESS Error trap


 / Published in: Visual Basic
 

  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  

You need to login to post a comment.