|
-
March 12th, 2010, 03:51 PM
#4
Re: how to trap an error
"Simple, easy, direct, and proper way to catch an error is not to use on error resume next or on error goto 0... For example, you just created the following sub... "
vb5prgrmr is correct about usning on error resume next, I did not notice that I pasted a bit of code that contained that. There was instance when I wanted to use this such as ...
Code:
On Error Resume Next
m_obj_rst.MoveLast
m_obj_rst.MoveFirst
On Error GoTo ProcError
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|