I am wondering if it is possible to log to a table the control on the form that caused an error. I already have an error routine that records the form name, user, and error string associated with the error that occured.
I am wondering if it is possible to log to a table the control on the form that caused an error. I already have an error routine that records the form name, user, and error string associated with the error that occured.
For my error handling I have written a handler. Although I am not storing the errors that occur, I do use the 'currenlty active control' along with the error to determine which error message to present. The syntax for it is ErrorHandler(Err, Me.name, Screen.ActiveControl.name).
I am only showing the sytnax as a context to show the Screen.ActiveControl.name property.