if type('_screen.ActiveForm.ActiveControl') = 'O' and ; !isnull(_screen.ActiveForm.ActiveControl) oMyActiveActiveControl = _screen.ActiveForm.ActiveControl endif