Update files if flag set

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

Syntax

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

Options

10% 90%
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.