function fieldType(fieldno : Integer): char;
The function fieldType() returns a type of a field by index.
There are following types:
- C - Character
- N - Numeric
- F - Float
- L - Logical
- D - Date
- M - Memo
- G - General
- T - DateTime
- I - Integer
- Y - Currency
- B - Double
- @ - TimeStamp
- O - Inverted Double
- V - Variant
- Q - VarBinary
- W - Blob
- + - Autoincrement
- 0 - System
begin
// your code
for i := 0 to dbf.fieldCount-1 do
writeln( dbf.fieldType( i ) );
// your code
end;