Trap Event Name for Error Message

H2os

New member
Local time
Today, 08:15
Joined
Sep 17, 2005
Messages
8
:confused:
I would like to trap event name where an error has taken place in.

I do not want to type in every event name by hand for each error messge.


Exit_Command27_Click:
Exit Sub

Err_Command27_Click:
Call ErrorLog(Me.Name, EventName, Err, Err.description)
Resume Exit_Command27_Click
 
Cut and paste are one of the most used features on my PC. Some thing you have to do manually. Look up MZ Tools in google. It is an add in for access and will write (amoungst a host of things) write custom error procedures.

Dave
 

Users who are viewing this thread

Back
Top Bottom