I have a "Save and New" button on my form which essentially adds a new record.
Here's the code:
When I click the button, an error pops up saying Run-time error '2105': You can't go to the specified record.Code:Private Sub Command480_Click() DoCmd.GoToRecord , , acNewRec With Me.RecordsetClone .MoveLast
When I debug, it highlights the DoCmd line (DoCmd.GoToRecord , , acNewRec)
Last time I used the form (3 days ago), everything was working fine. No idea what the problem is.
Thanks in advance!