Re: Binary Write to DBF file

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi Mike,

I'm curious why you would want to change the number of records in a DBF file
as recorded in the header? Are you trying to write a table fixing routine?

You'll find some discussion of record counts in table headers at
http://fox.wikis.com/wc.dll?Wiki~NotATable . (The "Not a Table" error is
what you usually get when there's a discrepancy between the number of rows
as noted in the header and the actual number of rows in the table.) I've
used the Hex Editor and the method described several times with good
results.

There's also some FoxPro code to change the header programmatically.

--
Cindy Winegarden MCSD, Microsoft Most Valuable Professional
cindy@xxxxxxxxxxxxxxxxxxx


<kohl.mike@xxxxxxxxx> wrote in message
news:1159878007.657924.225410@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Problem: Programmically changing the record count in a dbf file


.