Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Msg the Current Sub or Function the code is in

Status
Not open for further replies.

Max1mum2

Programmer
Jan 30, 2003
13
US
Is it possible to define what sub or function was being executed at the time of an error?


- maximum
 
You can also set cues on the status bar as each sub or function starts
 
Ah the word cues brought an idea into my head. I will just define the Sub or Function name in a string at the beginning of that sub/function then if a error occurs I can just call my error handler that writes the error to the table, but now i can add the sub/function name!. thanks a lot

- Maximum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top