Bob said:
The button that is first highlighted when you open a form..Thanks Bob
You mean a command button that you yourself created? Or some part of
the normal form superstructure? Please pardon these additional
questions, but your question puzzles me, because normally it's the
form's Detail section, not its Header or Footer section, that has the
focus when the form opens.
FWIW, you can put code in the form's Load event to set the focus to any
control you want; e.g.,
Private Sub Form_Load()
Me.cmdMyButton.SetFocus
End Sub