Force Update (Magic xpa 2.x)
The Force Update property determines whether the Edit/Cancel (F2) command is available to the end user after the execution of the Update operation.
No (default) – When the Force Update property is set to No, the end user can Select Edit/Cancel after an Update operation has been executed, to reset the current Record data view to its original state and so cancel the effect of the update.
Yes – When the Force Update property is set to Yes, Edit/Cancel is disabled after the Update operation. The end user cannot undo the changes made to the Record data view at the task level of the updated variable.
This "hard update" is generally used in the Record Suffix logic unit, in cases where resetting the updated variable to its original value could damage data integrity. A typical case is when the operation is intended to change data in the Record data view of a parent task. The Force Update property set to Yes will prevent the user's canceling the parent record after the subtask's records have already been accepted.
Just one Update operation with Force Update = Yes in any one of the subtasks updating the parent Record data view variable is sufficient to prevent the user undoing the update.
The Online and Rich Client Samples projects (program EN32 and REN32)