Reference > Script steps reference > Miscellaneous script steps > Flush Cache to Disk
 

Flush Cache to Disk

Immediately flushes the internal file cache to the computer's hard disk.

See also 

Options 

None.

Compatibility 

 

Product 

Supported 

FileMaker Pro Advanced 

Yes 

FileMaker Go 

Yes 

FileMaker WebDirect 

No 

FileMaker Server 

No 

FileMaker Cloud 

No 

FileMaker Data API 

No 

Custom Web Publishing 

No 

Runtime solution 

Yes 

Originated in 

FileMaker Pro 6.0 or earlier

Description 

FileMaker clients automatically flush (save) changes from their internal file cache to the computer's hard disk (or other storage) during idle time. Use this script step to force FileMaker clients to flush their internal file cache after extensive changes have been made through script steps such as Import Records or Replace Field Contents.

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; With dialog: On]
Go to Record/Request/Page [First]
Replace Field Contents [With dialog: Off; Products::Serial Number; Serial numbers]
Flush Cache to Disk

Related topics 

Script steps reference (alphabetical list)

Script steps reference (category list)