Which Control has the Focus?

  • Thread starter Thread starter Aaron E via AccessMonster.com
  • Start date Start date
A

Aaron E via AccessMonster.com

Is there a way to get a reference to whatever control has the focus?
 
Aaron said:
Is there a way to get a reference to whatever control has the focus?


If you are in the same form as the control, then use

Me.ActiveControl

otherwise

Forms!someform.ActiveControl
 
Back
Top