On the Record Layout Editor tree view, right-click
01 MANAGER-REC; then click
New Layout on the context menu.
Conditional Layout should be selected automatically as you have already defined a default layout; however, if it is not, then you have not correctly defined the default record layout. In this case, return to the
Create the Default Record Layout topic in this tutorial.
Click
Next; then click
Finish. This adds
MANAGER-REC as a conditional layout as seen in the right pane.
You now need to specify the field and condition that identifies this conditional record type.
In the right pane, expand
MANAGER-REC > 01 MANAGER-REC > 02 MN-CODE.
Right-click
03 MN-POSITION; then click
Properties on the context menu. The
Field Properties dialog box appears.
From the
Condition drop-down list, select
IS = TO.
In the
Condition box directly to the right of the drop-down list, type
M (upper case). This
M indicates a Manager record type. The two characters below the dotted line are the hexadecimal equivalent, arranged vertically. They should be
4 and
D because M in ANSI is hex 4D.
Click
OK. A small red
IF appears by
03 MN-POSITION in the right pane.
Repeat steps 1 through 8 to create a conditional record layout for the Executive record type; substituting equivalent structures from 01 EXECUTIVE-REC and using
E to indicate the record type. The hex equivalent for E is 45.