Routine Name

Tsango

Registered User.
Local time
Today, 15:42
Joined
Mar 31, 2006
Messages
64
Is there a set variable or property that can tell you which Sub you are in?

I want to use this to log errors. i.e pass the module and sub routine name to the error handler log file.

The only way I can do this at the moment is to physically hard code the sub routine name into each error handler.
 
With help from this forum, this is what I do. Need to set a reference to DAO 3.6

Dave
 

Attachments

Oldsoftboss said:
With help from this forum, this is what I do. Need to set a reference to DAO 3.6

Dave


Thanks for the reply, but that is already how I am doing it, but it requires you to hardcode the sub-routine name into each handler in order to log it.
 

Users who are viewing this thread

Back
Top Bottom