function filename: string;

Function filename() returns a name of a current dbf file.


begin
    // your code
    writeln( dbf.filename );
    // your code
end;