Adding Constraint to Hide MaidenName for Male Customers

Procedure

  1. In the Palette, click the Constraint icon in the Declare Constraint section and then click the Declare Constraints compartment to add the constraint.
  2. Provide the following details for the constraint in the Properties window:
    • Name as HideMaidenName.
    • Description as Hide MaidenName Fields for Male Customers.
    • In the Use for variables section, select the MaidenName checkbox.
  3. Double click the HideMaidenName constraint to open up the Expression Editor.
  4. From the Condition Expression Palette, click the Expression icon and then click in the Condition compartment to insert it.
  5. In the Expression Properties, provide Gender = 'Male'
  6. From the Actions Palette, click the Access Action icon and then click in the Actions compartment to insert it. Provide the following properties:
    • Name as Access
    • Mode as Hide
    • Applies To as Use for Vars