did you try
sele my_table
dele all for recno() <= 1700
if you want to permanently delete them don't forget to pack the file
~M
>Hi, i have a dbf file and i want to delete the first 1700 records from these table using the command line. I´m using the visual fox ver. 6.0 and i´d enter the command DELETE with this syntaxis: DELETE [Scope] [FOR lExpression1] [WHILE lExpression2] [IN nWorkArea | cTableAlias] [NOOPTIMIZE].
>But i don´t know how to use it because i saw this from the help opf visual fox ver. 8.0
>Please help me...
Go raibh maith agat
~M