Hi Eric,
>If I do a GO RECORD var command, is there a way to control the case where the record is not there (instead of having the foxpro message record out of range) ?
Don't use it, but use LOCATE RECORD nRecno instead. It's just as fast, but will position the record pointer at EOF if you pass an invalid record number.
Christof
--
Christof