[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
getValue()
Obtain the current value of a column (field)
------------------------------------------------------------------------------
Prototype
ERRCODE getValue(
AREAP wa,
USHORT fieldNum,
ITEMP value
)
Arguments
wa is a pointer to self.
fieldNum specifies the ordinal position of the column whose value is
to be obtained.
value is a pointer to a CA-Clipper item which will contain the
field's value.
Description
getValue() provides the mechanism by which the values of a row are
obtained for use by the CA-Clipper runtime system.
Default Behavior
You must implement the default behavior of this method through a
subclass.
Implementation Notes
. getValue() should check wa->lpFields[fieldNum] to retrieve the
column information. This permits the implementation of getValue() to
translate the value from the data store into an appropriate
CA-Clipper type.
. getValue() is one of the few work area methods that the
CA-Clipper runtime calls without benefit of a higher-level wrapper
function. A simple column access generates a call to this method, as
in:
cBobDobbs := MYDATA->BobDobbs
Warning! value must point to a valid item.
Files Header file is Rdd.api.
See Also:
AREA
getVarLen()
putValue()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson