Skip Headers
Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 2 (10.2)

Part Number B14308-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

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.