Update files if flag set

Command group Flag affected Reversible Execute on client Platform(s)
Changing data YES NO NO All

Syntax

Update files if flag set ([Do not cancel pfu])

Options

Do not cancel pfu If specified, Omnis remains in prepare for update mode after the command finishes, meaning that multi-user locks remain in place, and you can perform further updates

Description

This command writes the current values in the current record buffer to disk if the flag is set to kTrue. This is a variation on the Update files command and is equivalent to:

If flag true
  Update files
End If

When the command follows Enter data, the Prepare for update mode is cancelled, and the record is stored on disk if the user clicks OK or presses the Return/Enter key.