function recCount: Integer;

Function recCount() returns a number of records in a dbf file.
If you set a filter then it returns a number of filtered records.


begin
    // your code
    dbf.writeln( 'Reccount = ' + intToStr( dbf.recCount ) );
    // your code
end;