Oracle Objects for OLE C++ Class Library
Release 9.0.1

Part Number A90172-01

Home

Book List

Contents

Master Index

Feedback

SetValue (Abound) Method

Applies To

OBound

Description

This method sets the value of the database field to which this bound object is bound, in the current record.

Usage

Abound: oresult SetValue(const OValue &val)

Arguments

val
New value of the database field.
Remarks

This protected method is provided as a convenience for Abound subclasses. It is normally used to implement the subclass's SaveChange method.

This method should be called only in response to a call to SaveChange.

Return Value

An oresult indicating whether the operation succeeded (OSUCCESS) or not (OFAILURE).

Example

Please see the Workbook for the example "Abound of a variable." That example works through the implementation of a subclass of Abound. That subclass uses SetValue in its implementation of SaveChange.


 
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents