Select a text box

  • Thread starter Thread starter Simon Dowse
  • Start date Start date
S

Simon Dowse

Hi,

I know there is a simple line of code that can be built
into a control so that when you click on the control it
goes to another control. I want to be able to search by
reference number in a form, and I know there is a way that
by clicking on a control, the reference number field will
be selected if not already.

Any ideas?
 
Use the GotFocus Event of the first control to move the Focus to the second
control like:

Me.SecondControl.SetFocus
 
Back
Top