Simple issue...

  • Thread starter Thread starter DanielWalters6
  • Start date Start date
D

DanielWalters6

Hi,
I'm looking for one line of code to jump keyboard focus to a particular
field within a form, which I can put inside my oncurrent event?

My control name is NAME.

tia for your help/.
 
First, change the name of the control. Name is an Access reserved word, and
it may cause problems.
To set the focus to the control:

Me.SomeName.Setfocus
 
Thank you - solved issue - I did say it was going to be simple! :)
 

Ask a Question

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.

Ask a Question

Back
Top