Gaetan,
Check out ActiveControl Property in Help.
The name of the current control that has the focus would be...
= Screen.ActiveControl.Name
--
hth
Al Campagna
Microsoft Access MVP http://home.comcast.net/~cccsolutions/index.html
"Find a job that you love... and you'll never work a day in your life."
Gaetan,
Check out ActiveControl Property in Help.
The name of the current control that has the focus would be...
= Screen.ActiveControl.Name
--
hth
Al Campagna
Microsoft Access MVP http://home.comcast.net/~cccsolutions/index.html
"Find a job that you love... and you'll never work a day in your life."
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.