Difference between revisions of "SET NEAR"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 44: | Line 44: | ||
==Products== | ==Products== | ||
Recital Database Server, Recital Mirage Server, Recital Terminal Developer | Recital Database Server, Recital Mirage Server, Recital Terminal Developer | ||
+ | [[Category:Documentation]] | ||
+ | [[Category:Commands]] | ||
+ | [[Category:Set_Commands]] |
Revision as of 17:13, 10 March 2009
Contents
SET NEAR
Class
Indexing
Purpose
Sets ’soft’ seeking of data
Syntax
SET NEAR ON | OFF | (<expL>)
See Also
SET SOFTSEEK, SEEK, FIND, INDEX, SOUNDEX()
Description
When SET NEAR is ON, searches of the table go to the record immediately following the potential location of the search key in the relevant file, if the key itself is not found. SET NEAR is synonymous with SET SOFTSEEK. Both SET NEAR and SET SOFTSEEK function when any valid expression is used with the SEEK command. It has no effect on relationships. By default, NEAR is OFF.
Example
set near on use demo select state seek "MB" ? found() .F. ? eof() .F. ? state MD set near off seek "MB" ? found() .F. ? eof() .T.
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer