When I run the following code from a continuous form's Current event:
Set ctrl = Me.ActiveControl
I get an error 2474 - 'The expression you entered requires the control to be
in the active window'.
I've tested it in simple (1 field) forms with no other code, and get the
same result.
Is it not possible to get this value from the Form_Current event?
Screen.ActiveControl gives the same result.
--
Bob Darlington
Brisbane