Error handling and name of procedure

  • Thread starter Thread starter Chuck
  • Start date Start date
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
 
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.
 
Back
Top