Flush Cache to Disk
 
Purpose 
Immediately flushes the FileMaker Pro internal file cache to the computer's hard disk.
See also 
Format 
Flush Cache to Disk
Options 
None.
Compatibility 
 
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 
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
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)