R
Roger Bell
I have a Command Button on a Form to allow a new record to be inserted.
What I would like is that when this button is clicked the cursor moves to
the nominated field in the new record.
Can I add some code to that already shown to achieve this?
On Click Event Procedure:
Private Sub Insert_Record_Click()
On Error GoTo Err_Insert_Record_Click
DoCmd.GoToRecord , , acNewRec
Exit_Insert_Record_Click:
Exit Sub
Err_Insert_Record_Click:
MsgBox Err.Description
Resume Exit_Insert_Record_Click
End Sub
Thanks for any help
What I would like is that when this button is clicked the cursor moves to
the nominated field in the new record.
Can I add some code to that already shown to achieve this?
On Click Event Procedure:
Private Sub Insert_Record_Click()
On Error GoTo Err_Insert_Record_Click
DoCmd.GoToRecord , , acNewRec
Exit_Insert_Record_Click:
Exit Sub
Err_Insert_Record_Click:
MsgBox Err.Description
Resume Exit_Insert_Record_Click
End Sub
Thanks for any help