Forum Discussion
faxylady
Jul 07, 2021Copper Contributor
Set the Focus
06/08/21 Many years ago, I acquired some code to allow me to have the cursor start on my first line of my forms. Even though I have changed the lines to correspond with each form, for some reason, I...
faxylady
Jul 15, 2021Copper Contributor
I screwed up here. This is not the correct code that I previously received.
Private Sub Form_Current()
If Me.NewRecord = True Then
Me.NewRecord.SetFocus
End If
End Sub
I was supposed to substitute NewRecord with my own Text Box Caption
Private Sub Form_Current()
If Me.NewRecord = True Then
Me.NewRecord.SetFocus
End If
End Sub
I was supposed to substitute NewRecord with my own Text Box Caption