.Undo

Undo the last data edit.

Syntax
      expression.Undo

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

Examples

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 © 1999-2024 SS64.com
Some rights reserved