In this step you will insert an action in the Edit Horse function to suppress both the confirm prompt and the update of the HORSE file when the user zooms to display racing results. As a result, the Edit Horse panel will remain open for input on return from the Display Racing results function. This step is not strictly necessary, but will make the function easier to use.
CA 2E supplies a set of system fields that control the execution of functions. *Defer confirm is the system field that controls whether the confirm prompt is displayed or suppressed. *Defer confirm is a status field (STS) that has two condition values: Proceed to confirm (the default) and Defer confirm. Note that the name of the field and the name of one of its values are the same, namely, Defer confirm.
The action you will insert will override the default for the *Defer confirm field using the *MOVE built-in function and the CND context.
You will use the *MOVE function to move the condition value Defer confirm (CND context) to the system field *Defer confirm, thus overriding the default value of the *Defer confirm system field.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|