Command SET SOFTSEEK Foundation
Sets whether searches with the command SEEK will be "relative".
SET SOFTSEEK on | OFF | <lToggle>
The command SET SOFTSEEK determines where the record pointer is positioned after a failed SEEK operation.
When SET SOFTSEEK is set to ON, the record pointer is positioned after a failed search to the next record whose index value is greater than that of the search value. Filtered records are ignored. If a record exists with a value greater than the search value, the record pointer remains on this record. In this case, the function Eof() and Found() both return the value .F. (false). If no record with a greater value is found, the record pointer points to the "Phantom" record and Eof() returns .T. (true). Regardless of the setting of SET SOFTSEEK, the function Found() only returns .T. (true) when the search value is found.
With SET SOFTSEEK OFF, the record is always positioned at the end of the file after an unsuccessful search and Eof() returns the value .T. (true).
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.