function isNumericField(fieldno : Integer): Boolean;
Function isNumericField() returns TRUE is a field is Numeric, Float, Double, Currency, Integer.
begin
// your code
if dbf.isNumericField(0) then
dbf.getValue(0)
else
dbf.getString(0);
// your code
end;