Refresh Window
Updates the entire contents of the FileMaker Pro document window, including any related records.
See also 
Refresh Window [Flush cached join results; Flush cached external data]
Flush cached join results deletes the results of queries for related records and causes related records to be refreshed. Do not select this option if you know your script does not affect related data, and if you want to minimize the performance impact of re-accessing related data (particularly when sharing a database over a network).
Flush cached external data deletes the results of queries for related ODBC data source records and causes related ODBC records to be refreshed. FileMaker Pro dumps the internal cache and refreshes record data. Do not select this option if you know your script does not access ODBC data.
Where the script step runs 
FileMaker Pro 
FileMaker Server scheduled script 
FileMaker Go 
Custom Web Publishing 
FileMaker WebDirect 
Runtime solution 
Originated in 
FileMaker Pro 6.0 or earlier
This script step updates the entire contents of the FileMaker Pro window, including any related records, and updates the visibility state of all objects with hidden conditions in the window.
You do not need to select Flush cached join results in order to refresh the entire window.
This script step updates records (rows) in the current ODBC table.
Note  To update a single layout object without updating the entire window, use the Refresh Object script step.
Example 1 
Updates the Total field to include taxes and beeps after all records are updated.
Go to Record/Request/Page [First]
Set Field [Invoices::Total; Invoices::Total * Invoices::Tax]
Go to Record/Request/Page [Next; Exit after last]
End Loop
Refresh Window [ ]
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)
Updating data between FileMaker and ODBC data sources