Add to a form

T

TJ

Is there anyway, that when a button for add a new file is clicked, it will
return to the top of the form? Currently it goes blank and stays at the
point in the form it was when the button was clicked. This is not what my
users want, they want it to go back to the top.
 
E

elwin

Use the form's OnCurrent event to move the focus to the control of your choice.

Private Sub Form_Current()
If Me.NewRecord Then Me!myFirstField.SetFocus
End Sub
 
Top