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>relarea()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 relArea()
 Obtain the logical number of the workarea
------------------------------------------------------------------------------
 Prototype

     ERRCODE relArea(
                      WORKAREAP wa,
                      USHORT relNum,
                      USHORTP nArea
                    )

 Arguments

     wa is a pointer to self.

     relNum is an unsigned short value that specifies the relation number
     for which to obtain the workarea number.

     nArea is a pointer to an unsigned short value that determines the
     number of the workarea.

 Description

     Obtains the CA-Clipper SELECT() area of the child relation referenced by
     relNum.  relNum is a one-based number.

 Default Behavior

     relArea() implements the behavior of the CA-Clipper function
     DBRSELECT().  It scans relations for the workarea at wa and returns the
     area number of the child workarea.

 Implementation Notes

     .  If this method is reimplemented, be careful to return the area
        number for the relation at relNum-1 since relNum is a one-based
        number.

 Files:  Header file is Rdd.api.


See Also: WORKAREA relText()

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