I have a form with a tabbed subforms. My problem is the Add button. It gives me an error message, 'Can't go to specified record'. The VBA code running is:
DoCmd.GoToRecord , , acNewRec
I can add a new record if I use the Navigation bar or GoTo on the Menu bar, but my code will create an error. I want to turn off the navigation bar to avoid users from seeing all records. I have a dropdown list which allows the user to only see those records permitted. How do I get my Add button to work again?
The form is linked to a table so all fields are bound. Any help is appreciated.