Skip Headers

Oracle Forms Developer and OracleAS Forms Services Migrating Forms Applications from Forms 6i 10g (9.0.4) Part Number B10469-01 |
Home |  | Contents | Index

# 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 9i.

## 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.

| Copyright © 2003, 2003 Oracle Corporation. All Rights Reserved. |
|  | Contents | Index