Hi How can I cancel the current record changes (add/edit) via code? Thanks Regards
J John Oct 16, 2004 #1 Hi How can I cancel the current record changes (add/edit) via code? Thanks Regards
K Ken Snell [MVP] Oct 16, 2004 #2 Me.Undo is a code step that reverses all unsaved changes to a record.
A Arvin Meyer Oct 16, 2004 #3 One line of code: Me.Undo This can be in a click-event of a button on a form. On a subform, it must be on the same record. -- Arvin Meyer, MCP, MVP Microsoft Access Free Access downloads: http://www.datastrat.com http://www.mvps.org/access
One line of code: Me.Undo This can be in a click-event of a button on a form. On a subform, it must be on the same record. -- Arvin Meyer, MCP, MVP Microsoft Access Free Access downloads: http://www.datastrat.com http://www.mvps.org/access