Share via


FLUSH Command

Saves table and index modifications to disk.

FLUSH

Remarks

FLUSH ensures that modifications you make to all open tables and indexes are saved to disk.

Visual FoxPro automatically saves changes to disk when:

  • You close a table with USE, CLOSE ALL, or CLOSE DATABASES. Only information for the file or files you close is flushed to disk.
  • You unlock a record or file. Only information for the record or file unlocked is flushed to disk.

See Also

CLOSE DATABASES | FFLUSH( ) | SET AUTOSAVE