N
Neil
I have some code in my form's On Current event which changes focus to a
particular control. I want the control to remain where it was when the user
moved to the new record. But using Screen.ActiveControl or Me.ActiveControl
in the OnCurrent event results in the error "the expression you entered
requires the control to be in the active window" (2474).
How can I determine the control that had the focus before moving to the new
record, so that I can change it back there afterwards? Thanks!
particular control. I want the control to remain where it was when the user
moved to the new record. But using Screen.ActiveControl or Me.ActiveControl
in the OnCurrent event results in the error "the expression you entered
requires the control to be in the active window" (2474).
How can I determine the control that had the focus before moving to the new
record, so that I can change it back there afterwards? Thanks!