You have now changed the property sheet so that when you call it, you can specify which tab to display. Next, you add the calls from the Project Manager function to the property sheet.
To call the property sheet:
Before you can add the next event construct, you need to create a local variable. You then add a field to the variable that you use when calling the property sheet.

This creates a variable called Tab Number in the Local variable group. Next, you add a field to the variable.
CA Plex provides a field called Int in the FIELDS Pattern Library that stores literal values for integers. Use the field in this function to specify the tabs in the property sheet by their number (Tab 1 and Tab 2).

Next, tell the Project Manager function what to do when the Maintain Projects and Maintain Employees buttons are clicked.
The Parameter Mapping dialog appears. Next, tell the Project Manager function what value to pass to the Project Property Sheet function. The Project Property Sheet function uses that value to determine which tab to display.
The Select Field dialog appears:

Notice that both the Tab Number variable and the Int field you added to it are displayed.
This tells the property sheet to open the Projects and Tasks tab when it is called. Next, you tell the Project Manager function to open the property sheet when the Maintain Employees button is clicked. But this time, you make the Employees tab show.
This adds another Event construct to the action diagram.
The action diagram should now look like this.

| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |