Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to skip a run time error 1

Status
Not open for further replies.

samotek

Technical User
May 9, 2005
197
BG

Can i avoid the appearance of the Run time error 2105?

I have a function that performs well,but at the end
the Run time error 2105 appears :" You cant go to the

specified record"

However when i click "End" on the window, i go to the

desired place and my function will be perfect if i can

perform the action of the button "End".

My question is, is there a function that overlooks a given run time error, for example RunTime error 2105 or 2766.
 
Do a search on the On Error statement, Resume Next and the Err object. On Error allows you to react to an error occuring, Resume Next allows you to move to the next line after the error, and the Err object allows you to see the error itself (for description just use the Description property, I think). Good luck.
-Max
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top