J
Josh
I'm using Allen Browne's generic error handling,
http://allenbrowne.com/ser-23a.html, but instead of:
Call LogError(Err.Number, Err.Description, "cmdClose_Click()")
I use:
Call LogError(Err.Number, Err.Description, Form.Name & "_ " &
"cmdClose_Click()")
Because I want to know what Form or Report it was called from. Works fine, but
I have to remember to change Form.Name to Report.Name after I use MZ-Tools free
Error handler to insert the text.
(finally get to the question) Is there something I can use instead of
Form.Name, such as Object.Name (which doesn't work) so that I don't have to
remember to go back and change Form.Name to Report.Name?
Thanks
http://allenbrowne.com/ser-23a.html, but instead of:
Call LogError(Err.Number, Err.Description, "cmdClose_Click()")
I use:
Call LogError(Err.Number, Err.Description, Form.Name & "_ " &
"cmdClose_Click()")
Because I want to know what Form or Report it was called from. Works fine, but
I have to remember to change Form.Name to Report.Name after I use MZ-Tools free
Error handler to insert the text.
(finally get to the question) Is there something I can use instead of
Form.Name, such as Object.Name (which doesn't work) so that I don't have to
remember to go back and change Form.Name to Report.Name?
Thanks