Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- RaSQL/B 6.1a for Clipper - <b>n_xfound()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_XFOUND()
Determine if exact match was found from N_XSEEK()

Syntax
N_XFOUND()

RDD
Use FOUND()

Returns
True if N_XSOFTSEEK() was ON and the most recent N_XSEEK found an exact 
match.

Remarks
Works similarly to the Clipper FOUND() function.

If N_XSOFTSEEK() is OFF, then N_XFOUND() is the same as .NOT. N_XEOF(). 

Example
N_XSOFTSEEK(.T.)
N_XSEEK('SMY')
? N_XEOF()              && Not EOF
.F.
? N_XFOUND()            && Not found
.F.
                        && Record pointer at
                        && next greater value.
                        && Display last_name
? N_XFETCH('last_name') && for current record.
THOMAS


See Also: N_XEOF() N_XSEEK() N_XSOFTSEEK()

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