I have two forms and when form 2 is loaded it is supposed to create a new record. This was working only when there were other records in the table. I have cleared out the records in the table that form 2 is built off of and now when i launch it, form 2 gives me this error
Run-time error '2105': You can't go tot he specified record.
heres my code that it brings up when I click Debug
DoCmd.GoToRecor d , , acNewRec
Is there a way to add a new record without using the GoToRecord command in VBA? I think that this would fix my problem.
Thanks!
Run-time error '2105': You can't go tot he specified record.
heres my code that it brings up when I click Debug
DoCmd.GoToRecor d , , acNewRec
Is there a way to add a new record without using the GoToRecord command in VBA? I think that this would fix my problem.
Thanks!
Comment