Trapping External Errors from hyperlinks

rzielins

Registered User.
Local time
Today, 13:12
Joined
May 2, 2001
Messages
13
I know how to trap standard MS Access errors where you can ahve the error trapping code search for a particular MS ACCess error number. However, how do you get a list of all possible MS Windows error codes so that external events can be trapped and resolved.

For example, I ahve a hyperlink field on my form that stores a the PATH to a document ie. c:\my documents\thanks.doc If this document is moved or deleted, the MS Access application come sback with the following message :

"Unable to open c:\my documents\thanks.doc. Cannot open specified file.

I want to trap this error so I can display a different warning to the user. How is this achieved?
 

Users who are viewing this thread

Back
Top Bottom