| 20% Command group | 20% Flag affected | 20% Reversible | 20% Execute on client | 20% Platform(s) |
|---|---|---|---|---|
| Changing data | YES | YES | NO | All |
Prepare for insert with current values
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.
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