Undo/Redo
 
Purpose 
Reverses, restores, or switches between the most recently performed actions in the file.
See also 
Format 
Undo/Redo [Undo/Redo/Toggle]
Options 
 •
Undo reverses the previously performed action in the file.
 •
Redo restores the previously undone action in the file.
 •
Toggle switches between the two most recently performed actions in the file.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server scheduled script 
Yes 
FileMaker Go 
Yes 
Custom Web Publishing 
Yes 
FileMaker WebDirect 
Yes 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 6.0 or earlier
Description 
Multiple actions can be undone by repeatedly executing this script step with the Undo option. The number of actions that can be undone or redone is limited only by the amount of available memory.
Example 1 
Undoes data entry if the Phone Number field has fewer than seven digits.
If [Length ( Customer::Phone Number ) < 7]
Show Custom Dialog ["Phone Number must contain at least 7 digits. Undo number input?"]
If [Get ( LastMessageChoice ) = 1]
Undo/Redo [Undo]
End If
End If
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)