Progress
Basic Database
Tools


Creating a Field Trigger

Follow these steps to create a field trigger for an existing field:

  1. Choose Schema Field Editor. Progress alphabetically lists all the tables defined for your database.
  2. Select the table that contains the field for which you want to create the trigger. The Field Editor window appears.
  3. Choose the Triggers option at the bottom of the window.
  4. Select the field for which you want to define the trigger. The Field Triggers dialog box appears:
  5. Specify the name of the trigger procedure, then press PUT to enter the trigger code. The Trigger Editor appears.
  6. Specify whether a session trigger can override the schema trigger. For more information about session and schema triggers, see the chapter on database triggers in the Progress Programming Handbook.
  7. Specify whether Progress verifies the cyclical redundancy check (CRC) code.
  8. Choose OK to create the trigger and return to the Field Editor.

Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095