On Mon, 11 Jan 2010, Maurilio Longo wrote:

Hi,

> I've got a .dbf file (with a .dbt memo) which cannot be opened and has, as
> first byte, 0x8C.
> Do you know which program creates such files and/or if it can be handled by
> current harbour rdd (adding a 0x8C case inside dbf1.c)?

The first byte is DBF signature and for dBase files it is:
   bits 0-2: version number:
            -> 3 for dBASE Level 5,
            -> 4 for dBASE Level 7
   bit 3 and bit 7: memo file
   bits 4-6: dBASE IV SQL table

0x8C is 0b10001100 so version number is 4 and both memo bits are set.
It means that this is dBASE Level 7 file with some extended DBT file.
This format is not compatible with Clipper/Harbour DBF files.

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to