Script Steps Reference

Table Of Contents
FILEMAKER SCRIPT STEPS REFERENCE 109
that field. You don't need to use the Enter Browse Mode script step or Go to Record/Request/Page
script step after using Sort Records.
Each Sort Records script step can store a unique sort order; the sorting instructions are stored with
the step, not the script. You can use this step several times within the same script and store a
different sort order for each occurrence.
Note Items in the sort order that aren’t valid when the script step is performed are ignored. When
you specify a sort order in a database containing multiple tables, FileMaker
Pro stores the table
name for each sort field in the sort order. For example, a sort order using the Last Name field of the
Contacts table is stored in the sort order as Contacts::Last Name. If the Sort Records script step is
performed when a table other than Contacts is the active table, Contacts::Last Name cannot be
evaluated, and is ignored in the sort order.
Examples
Go to Layout ["My sort layout"]
Show All Records
Sort Records [Restore; No dialog]
Print [ ]
Related topics
Script steps reference (alphabetical list)
Contents
Unsort Records
Purpose
Restores the records in the current found set to their creation order (the order in which they were
entered in the file).
Format
Unsort Records
Options
None.
Compatibility
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server scheduled script Yes
FileMaker Go Yes
Custom Web Publishing Yes
Instant Web Publishing Yes
Runtime solution Yes