Chapter 5 Building Triggers and Procedures


Modifying a trigger template item

You can modify both your template items and those that are provided with PowerDesigner.

Steps To modify a trigger template item:

  1. Open the trigger template item property sheet in one of the following ways:
  2. To modify a DBMS trigger template item: select Database→Edit Current DBMS to open the DBMS definition file in the resource editor, and then click the Trigger Template Items tab.
  3. To modify a model trigger template item: select Model→Triggers→Trigger Templates Items to open the List of User-Defined Trigger Template Items.
  4. Click a trigger template item in the list, and then click the Properties tool to open its property sheet.
  5. Click the Definition tab and modify the trigger definition code. You can use PDM variables and macros and various other tools available from the toolbar. For more information, see "Using the Definition tab toolbar".
  6. You can also modify other of the trigger template item's properties. For a full list of the properties available, see "Trigger template item properties".
  7. Click OK in each of the dialog boxes.

    If you have created DBMS trigger template item, a confirmation box will appear, asking if you want to save the changes to the DBMS.

    Click Yes to confirm the template creation.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.