Error handling and name of procedure

C

Chuck

I have a global error handling procedure which will send me an email with
the err.number and err.description. I would also like to include the name of
the procedure which generated the error. Is there a property that I can use
to trap the procedure (or function) name? Thanks
 
R

Rick Brandt

Chuck said:
I have a global error handling procedure which will send me an email with
the err.number and err.description. I would also like to include the name of
the procedure which generated the error. Is there a property that I can use
to trap the procedure (or function) name? Thanks

No. I set up global error handler to accept a string argument and
everywhere I call it I just pass in the name of the sub or function.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top