Auto Focus

  • Thread starter Thread starter Jason
  • Start date Start date
J

Jason

Hope someone can help,

i'm looking for a way automatically focus on a certain
field whenever i change records.

eg.

if i select the field "2" and then cycle through the
records, it will stay on field "2", what i want is to
automatically change to field "1" when i go to the next
record even if i have another field selected when i change
records.

Hope i've explained it ok.

Thanks for your help in advance....
 
in the On Current event of the form (this event fires everytime you move from
1 record to another) put this code

YourField.SetFocus

where yourfield is the name of the field that you want to have the focus.
 
Back
Top