.Undo

Undo the last data edit.

Syntax
      expression.Undo

Key
   expression   The object, a form or a form control.

Example

Reset all changes to the FirstName text control:

Me!txtFirstName.undo
or
strControl = Me!txtFirstName
Me(strControl).Undo

Reset all changes to a form:

Me.Undo

“Besides the noble art of getting things done, there is the noble art of leaving things undone. The wisdom of life consists in the elimination of non-essentials” ~ Lin Yutang

Related:

RunCommand acCmdSaveRecord
Me.Dirty
.Save (DoCmd) - Save a database object.


Copyright © SS64.com 1999-2018
Some rights reserved