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>dbrelinfo</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DBRELINFO
 List of relational information
------------------------------------------------------------------------------
 Structure

     typedef struct _DBRELINFO_
     {
        ITEM bExpr;
        ITEM cExpr;
     
        struct _WORKAREA_ far * parent;
        struct _WORKAREA_ far * i;
     
        struct _DBRELINFO_ far * next;
     
     } DBRELINFO;
     
     typedef DBRELINFO far * DBRELINFOP;

 Elements

     bExpr / cExpr

        Contain a code block and a character expression, respectively, used
        to reposition the cursor of the child database when this relation is
        resolved.

     parent

        Contains a pointer to the parent workarea of this relation.  When you
        move the cursor of a parent workarea to a new position, you must move
        the cursor of each of its children to corresponding positions
        (usually with forceRel()).  Find the corresponding position by
        performing a seek() for the result of the cExpr.

     child

        Contains a pointer to the workarea containing the child in this
        relation.

     next

        Contains a pointer identifying the next field in the field list.
        Note that a null pointer in this field indicates the end of the list.
        By convention, this list is not circular.

     Warning!  You should perform code block evaluations with great
     caution.  Save any states that are likely to change as a result of
     re-entrance, so you can restore them after the code evaluation.

 Files:  Header file is Rdd.api.

 Used by:   WORKAREA, childEnd(), childStart(), relEval(), setRel()


See Also: WORKAREA childEnd() childStart() relEval() setRel()

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