Hello,
I am using the Docmd command to close a form. I use this in the cancel button for the form. I hoped that the following line will do it, without saving the information. But it does save the record changes anyway.
DoCmd.Close acForm, "frmDailyLog", acSaveNo
I would like to avoid it, since the save button also saves it, I want the cancel button not to save the record. Can anyone pl tell what I am missing.
Thanks
VC
I am using the Docmd command to close a form. I use this in the cancel button for the form. I hoped that the following line will do it, without saving the information. But it does save the record changes anyway.
DoCmd.Close acForm, "frmDailyLog", acSaveNo
I would like to avoid it, since the save button also saves it, I want the cancel button not to save the record. Can anyone pl tell what I am missing.
Thanks
VC