Error Global

_Brian_

Registered User.
Local time
Tomorrow, 00:01
Joined
Nov 26, 2004
Messages
29
It is possible to capture an error that of in any part of an application.

I need to capture an errors that is generated in any part(report) of an application in Access.
I do not love the on mistake goto to_error this me does not work for what I want. I want that to the producirce the errors somehow to obtain it.
 
Last edited:
_Brian_ said:
I need capture in a global

I'm sory but this doesn't make much sense; can you elaborate?
 
It sounds like he wants one procedure to capture errors anywhere in his application so he won't have to put error checking in individual procedures. I don't think it can be done...?
 
If if it is it .. :D something that could capture ACCESS's mistake to handle it, but without having to put in every procedure the ON ERROR GOTO because this is not what I want. :confused:
 
Brian,

It's not possible to do this as every procedure requires it's own unique error handling due to the different exceptions that can be triggered when an error occurs.
 
Is it possible to create something global that captures any mistake produced in the whole MDB to control it??

Something as this.

Global error2501 as errors
Global Const error2501 as errors

I have an external function to my application which I cannot change the code .. and generating an errors which not controlling this one it he wanted to be able to control her somehow.
 
_Brian_ said:
I have an external function to my application which I cannot change the code .. and generating an errors which not controlling this one it he wanted to be able to control her somehow.

Can you please rewrite this sentence - I don't understand what you're trying to say.
 

Users who are viewing this thread

Back
Top Bottom