That's true but she is trying to issue LOCATE with two different FOR condition. One works and other doesn't.
>
>Does locate work when issued succeessively?>
>LOCATE (not a function but a statement) finds the first record that matches the condition.
>
>If you want to LOCATE a second instance you can use CONTINUE
>
>BTW, LOCATE does a GO TOP if no condition supplied so it makes for a handy replacement for GO TOP that is sometimes faster as GO TOP could be slow if you have a filter set that is not optimized.
- Jayesh