Condividi tramite


SET AUTOSAVE Command

Determines whether Visual FoxPro flushes data buffers to disk when you exit a READ or return to the Command window.

SET AUTOSAVE ON | OFF

Parameters

  • ON
    Specifies that buffers be flushed to disk whenever you exit a READ or return to the Command window.

  • OFF
    Specifies that buffers be flushed to disk only if five minutes have elapsed since the last flush occurred, and only when you exit a READ or return to the Command window.

    OFF is the default for SET AUTOSAVE.

Remarks

Flushing buffers may reduce the chance of data loss if your computer loses power.

SET AUTOSAVE is scoped to the current data session.

See Also

FFLUSH( ) | FLUSH | SET DATASESSION