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.2 . 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(
                       WORKAREAP 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

     Provides the mechanism by which the values of a row are obtained for use
     by the CA-Clipper runtime.

 Default Behavior

     You must implement the default behavior of this method through a
     subclass.

 Implementation Notes

     .  getValue() should check wa->fields[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 workarea 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: WORKAREA getVarLen() putValue()

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