SetValue (OBound) 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
OBound: oresult SetValue(const OValue &val)
Arguments
val New value of the database field.
Remarks
This protected method is provided as a convenience for OBound 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 "OBound of a variable." That example works through the
implementation of a subclass of OBound. That subclass uses SetValue in its implementation of SaveChange.