Script Steps Reference

Table Of Contents
FILEMAKER SCRIPT STEPS REFERENCE 93
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
This script step is also supported in web publishing and in a FileMaker Server scheduled script.
Originated in
FileMaker Pro 6.0 or earlier
Description
Use this script step when it's important to maintain the original creation order, as with invoices
entered by invoice number or membership records entered by date.
Note You don't need to perform an Unsort Records script step before executing a Sort Records
script step.