procedure ClearField(dbf, f :integer);

ClearField fills the internal memory for the specified field with blank symbols (blanks or zeroes).
You can to call this function before you want to fill a field with some information or if you want to clear the field content.

var dbf :integer; r :integer; begin dbf := OpenBase( 'filename.dbf' ); if dbf <> 0 then begin for r := 0 to RecCount(dbf)-1 do begin ReadRecord(dbf, r); ClearField(dbf, 2); // clear a field #2 WriteRecord(dbf, r); end; CloseBase(dbf); end; end.