How do I trap the error "You can't go to the specified record"?
This occurs when I use
DoCmd.GoToRecord , , acNext (or acprevious)
on a form, but am at the end of the recordset.
I thought I could use the form's OnError event to trap for this, but this event does not seem to fire when this happens.
I would just like to give my users a more informative error message!
Using Access 2002
This occurs when I use
DoCmd.GoToRecord , , acNext (or acprevious)
on a form, but am at the end of the recordset.
I thought I could use the form's OnError event to trap for this, but this event does not seem to fire when this happens.
I would just like to give my users a more informative error message!
Using Access 2002