P
pgilbert11
HI
I am trying to use the screen.activecontrol command in the Form_current sub
in order to collect the name of the textbox the cursor was last in before the
record changed.
Everytime i try and use this command i get the error message 'Run-time error
2474. The expression you entered requires the control to be in the active
window'.
I only have the one window open and i am not running it in debug mode.
I have also tried using screen.previouscontrol but this keeps returning a
Null value.
Please help!!
Let me know if you need more details.
Thanks
Paul
I am trying to use the screen.activecontrol command in the Form_current sub
in order to collect the name of the textbox the cursor was last in before the
record changed.
Everytime i try and use this command i get the error message 'Run-time error
2474. The expression you entered requires the control to be in the active
window'.
I only have the one window open and i am not running it in debug mode.
I have also tried using screen.previouscontrol but this keeps returning a
Null value.
Please help!!
Let me know if you need more details.
Thanks
Paul