Getting dBase IV-database structure
Hi,
in my program I need to get informations about the structure
of a dBase IV-database.
Especially the size of an integer-field. When I say the
size, I don't mean the size in byte. I need the size as I
can create in dBase. In dBase I create a datafield with
name, Typ (in this case integer) and size. Size means here
the number of digits and not the number of bytes.
I tried to solve this problem, with the Item-property of
TFieldDefs or the Fields-property of TFieldList. But in
TDBGrid I can only input 3 digits if there is the fieldsize
in dBase 3 digits....
Where can I find this information.
My next problem is that in the database I have to use, the
first field is an integer field and is the primary index
field. If I read TFieldType, I get only for this integer
field ftFloat????????????? I looked with dBase and the
Database Desktop in the structure and there is everywhere
the symbol for an intger field.
I can only use dBase-databases, because still we use some
old dBase-programms. I write my program with Delphi 4.
thanks in progress,
Stefan Michel
WIGE-MIC Leipzig
The Electronic World Of Sport