I have buttons on a form to go to previous and next records.
How can I stop the next button from going to create a new record when it gets to the end of the records.
Here is the code for the button DoCmd.GoToRecord , , acNext
If you click on the next button one more time you get a message that says that you can’t go to the specified record. That’s what I want instead of switching to a new record.
Thanks
Paul