Oracle Objects for OLE C++ Class Library
Release 9.2

Part Number A95896-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback

PreAdd Trigger Method

Applies To

OBinder

OBound

Description

Called before a new record is added

OBinder: This trigger method is called before a new record is added. By default, if changes have been made, the method saves them (by calling OBound::SaveChange on every object) and updates the record (which as a side effect calls the update triggers).

OBound: This trigger method is called before a new record is added.

Usage

virtual oresult PreAdd(void)

Remarks

The default OBound PreAdd trigger does nothing.

The default OBinder PreAdd trigger saves to the database any changes to the current record. If there were any changes that needed saving this will call the update triggers as a side effect.

Adding a record my happen either because of AddNewRecord or DuplicateRecord.


 
Oracle
Copyright © 1998, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback