I have tried using the button wizard for Exit Record with no save which uses a macro but the record still is saved. I haved written the DoCmd:
DoCmd.Close acForm, "ProjectInformation",acSaveNo
and it still saved the record. I have been told to include:
IfMe.Dirty then Me.Undo
but I am not sure how to include this within the DoCmd above. I tried but it is coming back as an error. Any help would be greatly appreciated.
Thanks
DoCmd.Close acForm, "ProjectInformation",acSaveNo
and it still saved the record. I have been told to include:
IfMe.Dirty then Me.Undo
but I am not sure how to include this within the DoCmd above. I tried but it is coming back as an error. Any help would be greatly appreciated.
Thanks