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.