So I think there is a simple answer here, but I am not sure why it happens. In a form, I have a command button for moving through records. Attached to this button is basic VBA code.
Private Sub btnPreviousRecord_Click()
DoCmd.GoToRecord , , acPrevious
End Sub
Easy Enough. When I click the previous button once, I go to the previous record, when I click it again, I get the error "You can't go to the specified record." I click End on the popup, and I click the previous record button again and go to the previous record.
I can sift through all of my records, but every other click on either the previous or next button, I get a popup saying I can't go to the next record, even though it exists. The only true time that a record does not exist is when I press previous on the very first record, or next on the very last record.
Suggestions?