>Using 'Set Near On' and Seek 'something' should position the record pointer to the nearest matching record. Usually works fine Except when the index is in descending order. In this case the record you wind up on is the next record After the closest match. Tested under VFP 5.0, I have not tried with VFP 6.0. If you repeat this test using FPW 2.6 it works correctly (that is if you assume the above behavior is a bug and not a feature).
>
>Now coding a workaround :(.
It is functioning properly. If record is not found, it will go to next record.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer