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>childend()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 childEnd()
 Report end of relation
------------------------------------------------------------------------------
 Prototype

     ERRCODE childEnd(
                       WORKAREAP wa,
                       DBRELINFOP dbRelInfo
                     )

 Arguments

     wa is a pointer to self.

     dbRelInfo is a pointer to a structure containing information on a
     relation.

 Description

     Indicates that one of wa's parent workareas is no longer related.

 Default Behavior

     childEnd() indicates that the referenced workarea is related to one less
     parent by decrementing wa->parents.  This method does not physically
     unhook a child from a parent.

     Warning!  There is no check to guarantee that wa->parent will wrap
     from 0 to 255 after the decrement.

 Implementation Notes

     .  If your RDD supports relations, ensure that the child workarea
        (denoted by wa) does not have a pending relational move that relies
        upon the existence of the parent referenced by dbRelInfo.  If such a
        movement exists, it must be resolved by a call to SELFFORCEREL()
        prior to removal.

     .  In most driver implementations, parent-child relations will be
        stored exclusively in the parent workarea.  clearRel() removes all
        child relations from a parent; there is no way to remove a single
        relation from a parent's relation list using the CA-Clipper DML.

 Files:  Header file is Rdd.api.


See Also: DBRELINFO WORKAREA childStart() clearRel()

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