function writeRecord(recno : Integer): Boolean;

Function writeRecord() writes a record from internal memory block to the file.
You have to fill the memory with necessary values using setField()


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