Hello !

When I try to read a dbf file, using XBase in PERL, I immediately have an
error:
'DBD::XBase::st execute failed: Table xxxxxx not found: Missmatch in header
of xxxxx: record_len 2048 but offset 1696'

I believe the last field mentioned in the Header is not populated in the
actual records, therefore the mismatch, but I really need to read the file
!

It works fine if I first open the file in Excel and either delete the first
row (with the fields definitions) or populate the last field in
all the records. The problem is that this must be an automatic process and
I haven't been able to do this from the code.

Is there a way to force it to ignore the Header and still read the records
?
I don't fully understand the dbf format and don't know if we can read the
records any other way.

Does anyone have an idea on how to solve this ? I would certaintly
appreciate it !

Thank you !

Isabel Carvalho


Reply via email to