Prepare for insert with current values

Command groupFlag affectedReversibleExecute on clientPlatform(s)
Changing dataYESYESNOAll

Syntax

Prepare for insert with current values

Description

This command prepares Omnis for inserting new data into the main file using the values in the current record buffer as a starting point. Prepare for insert with current values differs from Prepare for insert in that the fields in the main file are not cleared.

In multi-user mode, the Prepare for... commands reread the current records from the data file if another user has edited a record.

Example

Set main file
 
fAccounts

Prepare for insert with current values

If flag false
  
Quit method
 
kFalse

End If
Enter data
Update files if flag set