mistux Site Admin
![](images/avatars/gallery/Miscellaneous/pc_user.gif)
Joined: 25 Jun 2004 Posts: 1042 Location: South Bend, Indiana USA
|
Posted: Thu Oct 23, 2008 3:27 pm Post subject: Trap for Specific Error code |
|
|
If you need to trap for a specific error number and keep continuing use this:
Code: |
Exit_btnEdit_Click:
Exit Sub
Err_btnEdit_Click:
If Err.Number = 438 Then Resume Next 'subform
MsgBox Err.Description & " Number: " & Err.Number
Resume Exit_btnEdit_Click
|
|
|