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>releval()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 relEval()
 Evaluate block against the relation in the specified workarea
------------------------------------------------------------------------------
 Prototype

     ERRCODE relEval(
                      WORKAREAP wa,
                      DBRELINFOP dbRelInfo
                    )

 Arguments

     wa is a pointer to self.

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

 Description

     Performs a relational seek from parent wa to child specified by
     dbRelInfo.

 Default Behavior

     Evaluates the block held in the structure pointed to by
     dbRelInfo->bExpr.  The expression resulting from the evaluation is
     placed in wa->result, and the return code indicates success or failure.

     Note:  The selected workarea is saved and restored.

     Warning!  If the Item held in dbRelInfo->bExpr is not a code block,
     a BASE/1004 "No exported method" error is generated.

 Implementation Notes

     .  If any global state necessary for the operation of your driver
        could be modified by the code block in dbRelInfo->bExpr (i.e., any
        CA-Clipper code), you should save that state, call SUPERRELEVAL(),
        then restore the state.

 Files:  Header file is Rdd.api.


See Also: DBRELINFO WORKAREA forceRel()

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