R
rsosabusiness
I have a form with navigation buttons and also a command button which I
want to control all the record updates (OK button). In the BeforeUpdate
event for the form I tested to see if I had arrived there by clicking
one of the navigation buttons. If I did, I would set the 'Cancel'
argument to true on the assumption that the update would be canceled
and the record would stay put until it was updated with the 'OK'
button. This caused the error ' you cannot go to the specified record'
(or close to that). How can I accomplish what I described without
causing the error?
Cordially,
Robert
want to control all the record updates (OK button). In the BeforeUpdate
event for the form I tested to see if I had arrived there by clicking
one of the navigation buttons. If I did, I would set the 'Cancel'
argument to true on the assumption that the update would be canceled
and the record would stay put until it was updated with the 'OK'
button. This caused the error ' you cannot go to the specified record'
(or close to that). How can I accomplish what I described without
causing the error?
Cordially,
Robert