begin // your code for row := 0 to dbf.recCount()-1 do begin dbf.readRecord( row ); // change data dbf.writeRecord( row ); end; end;