Access VBA: Is it possible to reset error handling

前端 未结 5 1847
慢半拍i
慢半拍i 2021-02-19 04:59

I am using in the first part of my program

on error go to start

Suppose in my second part I am again using

on error resume next

This second erro

5条回答
  •  孤街浪徒
    2021-02-19 05:53

    There is a difference between an answer and a solution. Sometimes we just need an answer, warnings appreciated, and let us learn by experience that it is not actually a good solution. That being said, I found this:

    You need to use On Error GoTo -1 or Err.Clear to reset error trapping.

    Check this answer I posted a few months ago for a more detailed explanation.

提交回复
热议问题