Hey all, this is hopefully so simple you want to laugh me off the forum but it would Really Really help if you could...well help me!
I've got this 'browse' form to allow user to go through records one by one, but when I get to the end of the data two things happen:
First, it goes to a blank page (to make a new record I assume) - This is fine.
One more click after that I get a "2105" Which states "You can't go to specified record". however when it does this its an ugly box with 'end debug help' - This I do not want!
How do I add my own message just saying 'no more records'?
Thank you kindly!
oh btw the code for the button is:
Private Sub btn_Next_Rec_Cl ick()
DoCmd.GoToRecor d , , acNext
End Sub
I've got this 'browse' form to allow user to go through records one by one, but when I get to the end of the data two things happen:
First, it goes to a blank page (to make a new record I assume) - This is fine.
One more click after that I get a "2105" Which states "You can't go to specified record". however when it does this its an ugly box with 'end debug help' - This I do not want!
How do I add my own message just saying 'no more records'?
Thank you kindly!
oh btw the code for the button is:
Private Sub btn_Next_Rec_Cl ick()
DoCmd.GoToRecor d , , acNext
End Sub
Comment