Hi Jay,
>I've never used LOCATE that way. Why not use GOTO? Is it the same?
LOCATE RECORD and GOTO are nearly identical. The difference between the two is that if you pass RECCOUNT()+1 to GOTO, you get an error message, but LOCATE RECORD accepts this value and moves the record pointer into EOF. In other words, LOCATE RECORD accepts everything that RECNO() returns. GOTO only accepts existing records making it necessary to check for EOF() separately.
--
Christof