Skip Headers

Oracle® Forms Migrating Forms Applications From Forms 6i 10g (10.1.2.0.2) for Windows and UNIX B15572-01 |
| Library | Product | Contents | Index

Previous | Next |

# 5 Triggers

In order to streamline the tools available and simplify the development process for building Forms applications for the Web, triggers that are not applicable to Web deployment have been removed. In addition, the functionality of some triggers is being more strictly enforced.

## Obsolete Triggers

Table 5-1 Obsolete Triggers

Obsolete Triggers | Migration Notes
--- | ---
ON-DISPATCH-EVENT | Applies only to OLE and OCX items. Therefore, no migration path or replacement functionality.
All V2-style triggers | When you open FMBs that contain V2-style triggers, the triggers are dropped and a warning message lists the names of the dropped triggers. You should recode V2-style triggers into PL/SQL in Forms 6i, before upgrading to this release.

## Stricter Enforcement of Triggers

The use of the following triggers is more strictly enforced. These triggers will not execute if they are used incorrectly.

Table 5-2 Triggers with Restricted Usage

Trigger | Restricted Usage
--- | ---
WHEN-CLEAR-BLOCK WHEN-CREATE-RECORD WHEN-DATABASE-RECORD WHEN-NEW-RECORD-INSTANCE WHEN-REMOVE-RECORD | Allowed at the Block and Form level only. No longer allowed at the Item level.
WHEN-NEW-FORM-INSTANCE | Allowed at the Form level only. No longer allowed at the Block and Item level.