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

Refresh (OBound) Method

Applies To

OBound

Description

This method sets the value of the OBound object with a new value from the database.

Usage

virtual oresult Refresh(const OValue &val)

Arguments

val
The new value of the OBound object.
Remarks

The OBinder (to which this OBound object is bound) calls this method whenever a value needs to be transferred from the dynaset to the OBound object. The val argument contains the new value.

Refresh is not implemented in the base OBound class. Your OBound subclass must implement this method

Refresh is the inverse of OBound::SaveChange.

Return Value

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

Example

Please see the Workbook for the example "OBound of a variable." That example works through the implementation of a subclass of OBound. That subclass implements Refresh.


 
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