Reference > Script steps reference > Editing script steps > Undo/Redo
 

Undo/Redo

Reverses, restores, or switches between the most recently performed actions in the file.

See also 

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 

 

Product 

Supported 

FileMaker Pro Advanced 

Yes 

FileMaker Go 

Yes 

FileMaker WebDirect 

Yes 

FileMaker Server 

Yes 

FileMaker Cloud 

Yes 

FileMaker Data API 

Yes 

Custom Web Publishing 

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)