Design › Designing Server Procedures › Lesson Activity › Add Logic to MAINTAIN GOLFER › Add the CASE OF (COMMAND) Statement › CASE Update
CASE Update
We will perform similar steps for the CASE update.
Follow these steps:
- Select the CASE statement next to the command value update. Then, from the Main Menu select Edit, then Add Statement, and then select Useā¦. From the list of action blocks in the Add Statement dialog, select update golfer, and then select the Add push button.
- The import view of the UPDATE GOLFER process requires all of the golfer's attributes except handicap index. To verify this, in the UPDATE GOLFER Import View Matching dialog, select the UPDATE GOLFER import view IMPORT. Then select the Expand push button. You can now see the specific attributes in the import view of UPDATE GOLFER.
- We want to match the import view of the UPDATE GOLFER process action diagram to the import view of the MAINTAIN GOLFER procedure step. Select IMPORT from the supplying views in the bottom panel and then select the Match push button.
- The views are contracted after being matched. To see the specific attributes again, you will need to select the IMPORT in the top panel again and then select the Expand push button. Select the Close push button to be presented with the export view-matching dialog.
- In the UPDATE GOLFER Export View Matching dialog, no export views exist for the UPDATE GOLFER process action diagram. Therefore, no view matching is necessary. Select the Close push button.
- Repeat the previous steps for the CASE handicap using the calculate golfer handicap index action diagram.
- Repeat the previous steps for the CASE delete using the delete golfer action diagram.
Copyright © 2013 CA.
All rights reserved.
|
|