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>found()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 found()
 Determine outcome of the last search operation
------------------------------------------------------------------------------
 Prototype

     ERRCODE found(
                    WORKAREAP wa,
                    BOOLP isFound
                  )

 Arguments

     wa is a pointer to self.

     isFound determines the status of the last search operation.

 Description

     Obtains the status of the last search operation for wa.  In the default
     database driver, search operations are defined as seek() calls.  This
     method provides the return value of the CA-Clipper FOUND() function.

 Default Behavior

     Copies wa->found to isFound.

 Implementation Notes

     .  Determine the setting of wa->found (if it is not automatically
        set by your seek() implementation), then call SUPERFOUND().

     .  If your RDD supports relations, update relations with a
        forceRel() prior to determining wa->found status.

     Warning!  isFound must point to one byte of allocated memory.

 Files:  Header file is Rdd.api.


See Also: WORKAREA forceRel() seek()

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