G
Guest
I'm trying to save a record and then go to a new record when I hit a button
on my form.
I am getting the following error:
Run-time Error '2493'
This action requires an Object Name argument
Here is the code I have for my save button on the form.
Private Sub cmd_Save_Click()
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
DoCmd.GoToRecord acDataForm, frm_Form111, acNext
End Sub
I can't see anything wrong with it. Can someone please help.
Thanks in Advance
on my form.
I am getting the following error:
Run-time Error '2493'
This action requires an Object Name argument
Here is the code I have for my save button on the form.
Private Sub cmd_Save_Click()
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
DoCmd.GoToRecord acDataForm, frm_Form111, acNext
End Sub
I can't see anything wrong with it. Can someone please help.
Thanks in Advance