Reputation: 13
When I am navigating through records in my form I want to be informed when I click on next button that there are no more records (if there are no more records, ofc). By default in access, I am first shown a blank record and when I click again warning message.
Going through the record:
Going into an empty record:
Getting a warning message when clicking on next for the second time:
Upvotes: 0
Views: 78
Reputation: 55841
It's easier to disable the button when the user reaches the new record:
Private Sub Form_Current
Me!ButtonNext.Enabled = Not Me.NewRecord
End If
Upvotes: 1