Open the EGOLFER HOME action diagram by selecting the Action Diagram icon on the Toolbar. If necessary, first select it in the Navigation Diagram.
Eventually, we want to delete the extra views created as part of the copy, but first we need to remove any references to them in the action diagram. In addition to copying the dialog design and the views necessary to support the dialog design, the copy feature also copied the events associated with the copied objects. In this case, the next push button, which is now the update push button, had a click event associated with it. We want to rename the click event to something that makes more sense for this action diagram.
To do this, double-click the EVENT ACTION egolfer reg pb next click, and change the Action Name to update egolfer pb update click, then select the OK push button.
Within that same event action, in the IF statement, double-click import confirmation 1 golfer. Then in the Change dialog, select character view, select the entity view import confirmation golfer, and then select the Change push button.
Within the same IF statement, double-click import 1 golfer. Then, in the Change dialog, select character view, select the entity view import golfer, select the attribute password, and then select the Change push button.
Within the same event action, double-click the command value register. In the Change dialog, select command value, in the Command Selection list select UPDATE, select the OK push button, and then select the Change push button.
Within the same event action, in the USE maintain golfer statement, double-click the Entity View import 1 golfer. In the MAINTAIN GOLFER Import View Matching dialog, select IMPORT GOLFER from the top panel, select IMPORT GOLFER from the bottom panel, select the Match push button, and then select the Close push button.
Within the same event action, in the USE maintain golfer statement, double-click the Entity View export 1 golfer. In the MAINTAIN GOLFER Export View Matching dialog, select EXPORT GOLFER from the top panel, select EXPORT GOLFER from the bottom panel, select the Match push button, and then select the Close push button.
Within the same event action, select the EXIT STATE IS xfr to egolfer home statement. Then select the Delete icon from the Toolbar and select the Yes push button to confirm.