Script Steps Reference

Table Of Contents
Miscellaneous script steps
F
ILEMAKER SCRIPT STEPS REFERENCE 277
Flush Cache to Disk
Purpose
Immediately flushes the FileMaker Pro internal file cache to the computer's hard disk.
Format
Flush Cache to Disk
Options
None.
Compatibility
Originated in
FileMaker Pro 6.0 or earlier
Description
FileMaker Pro automatically flushes changes from its internal file cache to the computer's hard disk
during idle time. Use this script step to force FileMaker Pro to flush its internal file cache after
extensive changes have been made through script steps such as the
Import Records script step or
the Replace Field Contents script step.
Example 1
Assigns serial numbers to all records in the found set and flushes the changes to the disk.
Perform Find [Restore]
Sort Records [Restore]
Go to Record/Request/Page [First]
Replace Field Contents [Products::Serial Number; Serial numbers]
Flush Cache to Disk
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server scheduled script No
FileMaker Go Yes
Custom Web Publishing No
FileMaker WebDirect No
Runtime solution Yes