dbf
dbf copied to clipboard
Uncomplete DBF loading
Hi,
table = dbf.Table ( filename=DBF_FILE, on_disk=True )
when i open DBF table (link below) it will not load all columns (only 47 instead of 58). If i specified column names, it deleted all data in DBF. I tried specify codepage, but it not helped. Im I missing something or only this DBF file have something wrong? Thanks
It is partially a bug in the dbf code -- it should not be showing the fields marked as SYSTEM
-- there are 11 such fields. dbf
is expecting SYSTEM
fields to be at the end of the record, which is why mingled SYSTEM
fields are showing, and the last 11 fields are not.
Can you tell me why there are fields marked as SYSTEM
? Typically those fields are solely for the use of the dbf program -- for example, if there are any fields that can be null
, a _NULL C(x) SYSTEM BINARY
field is added to keep track of which fields in a record are nulled.