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_xsoftseek()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_XSOFTSEEK()
Turn soft seek On or Off Softseek

Syntax
N_XSOFTSEEK([<lSetting>])

RDD
Use SET SOFTSEEK or SET(_SET_SOFTSEEK)

Argument
<lSetting> is the desired setting, .T. (ON) or .F. (OFF). By default, soft 
seek is OFF.

Returns
With no arguments, returns the current setting.

Remarks
N_XSOFTSEEK(.T.) sets soft seeking ON. Subsequent calls to N_XSEEK() will 
position the record pointer to the key that is equal to or greater than the 
specified seek value. If the index is in descending order, the key found 
will be the key that is equal to or less than the specified seek value.

N_XSOFTSEEK(.F.) sets soft seeking OFF. Subsequent calls to N_XEOF() will 
return False only if an exact key match is made.

N_XSEOFTSEEK does not affect N_XSEEKEQ. N_XSEEKLT, N_XSEEKGT, N_XSEEKLE, or 
N_XSEEKGE.

Example
N_XSELECT('patients')
N_XSOFTSEEK(.T.)
N_XSEEK('M')


See Also: N_XSEEK()

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