>is there a way to determine which control last had the focus when an error is generated? My error routine would be more helpful if it could identify the control that choked. (the line numbers aren't very helpful if i don't know which method they're relating to)
Three parameters are passed to the Error event of an object. The second parameter is cMethod, the method the error occurred in. You can trap for this and log it for reference.
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.