GO [RECORD] nRecordNumber [IN nWorkArea | IN cTableAlias]
However; you do realise that RecNo() should only be used when you specify the ORDER or the open table?
SET ORDER TO surname
However, using FP code is not the best method for this. You are going to want to look at using SQL as per your example before.
Perhaps you want to delete records where the primary key value is between 20 and 30 inclusive
DELETE FROM people
WHERE person_id BETWEEN 20 AND 30