Previous Topic: CASE RegisterNext Topic: CASE Update


CASE Login

We will perform similar steps for the CASE login.

Follow these steps:

  1. Select the CASE statement next to the command value login. From the Main Menu select Edit, Add Statement, and then Useā€¦. From the list of action blocks in the Add Statement dialog, select login golfer, and then select the Add push button.
  2. The import view of the LOGIN GOLFER process requires the golfer's userid and password. To verify this, in the LOGIN GOLFER Import View Matching dialog, select the LOGIN GOLFER import view IMPORT. Then select the Expand push button. You can now see the specific attributes in the import view of LOGIN GOLFER.
  3. We want to match the import view of the LOGIN 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.
  4. The views are contracted after being matched. To see the specific attributes again, select the IMPORT in the top panel again and then select the Expand push button. Notice that while the import view of the procedure step has all of the attributes of the golfer, only the userid and password are passed (matched) to the Login Golfer process action diagram.
  5. Select the Close push button to be presented with the export view-matching dialog. The export view of LOGIN GOLFER returns all of the attributes of the golfer, minus the userid and password. Verify this by expanding the export views.
  6. Since we want the server procedure to return this information to the client procedure (which we have not written yet), we need to match this export view of LOGIN GOLFER to the export view of the procedure step MAINTAIN GOLFER. In the top panel select EXPORT, in the list of possible receiving views select EXPORT, and then select the Match push button. In the top panel, we can now see that the export view from LOGIN GOLFER is matched to the export view in MAINTAIN GOLFER. You can expand the views to see exactly which attributes are matched. Select the Close push button.