Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Technical Reference - <b>getvalue()</b> http://www.X-Hacker.org [<<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()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson