J
JimS
I want to develop a generic error logging subroutine. It should log any
error, along with the caller's identity. I set up an error logging table with
fields for
Form Name
Control Name
Error Number
Error Description
Date/Time
NT Username
Comment
etc.
I was hoping to call it like "Call ErrLog", with no required parameters. How
can I learn the form name of the caller (if any), and error numbers, etc? If
not, I'll just make them parameters, but I hoped I could avoid that.
Perhaps if I called it with the caller's form name, I could glean the rest
from the forms collection?
Other ideas?
error, along with the caller's identity. I set up an error logging table with
fields for
Form Name
Control Name
Error Number
Error Description
Date/Time
NT Username
Comment
etc.
I was hoping to call it like "Call ErrLog", with no required parameters. How
can I learn the form name of the caller (if any), and error numbers, etc? If
not, I'll just make them parameters, but I hoped I could avoid that.
Perhaps if I called it with the caller's form name, I could glean the rest
from the forms collection?
Other ideas?