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

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 © 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