Hello there,
I have form in which I have save button which has code as below :
and form's before update event has code as below to confirm users response whether they want to save changes or not, if they decided not to save changes, on VBNo we are putting code as cancel= true, in this code gives error saying save command not available and it points to the code of the button docmd.runcommand acsaverecord.
What would be possible way this could be happenin, am I doing anything wrong here ?
I have form in which I have save button which has code as below :
Code:
docmd.runcommand acsaverecord
and form's before update event has code as below to confirm users response whether they want to save changes or not, if they decided not to save changes, on VBNo we are putting code as cancel= true, in this code gives error saying save command not available and it points to the code of the button docmd.runcommand acsaverecord.
What would be possible way this could be happenin, am I doing anything wrong here ?