Quantcast
Channel: VFPX
Viewing all articles
Browse latest Browse all 3798

New Post: FoxBin2PRG handle records in DBFs

$
0
0
Hi Fernando,

I have been playing around with foxbin2prg trying to find the differences of a database (dbc + many dbfs) at two different versions (like what changes occurred in the last couple of days) and i found a couple of issues.

First there is an error and i submitted an issue for that.. after posting it I tried converting that big dbf (11 Mb) with "foxbin2prg.prg" in my vfp ide and it seems the error occurs when the code tries to add a string to an already full string. My only idea for an workaround would be to add all strings into a temp file with StrToFile( temp_file ,1 ) - using the additive option - then move that temp file to its destination. Since involving the disk would introduce a speed penalty a check for the file size should be made to ensure that this method is really needed.

Then the option "DBF_Conversion_Excluded" doesn't seem to work, I have placed a cfg file in the database folder and set DBF_Conversion_Excluded: mydbfname.dbf but foxbin2prg still processes the file and throws the error.

Also in every .db2 file you create a tag "<LastUpdate>" which is useful but not when trying to find if and what files are different - all the db2 files are shown as different when most of them have the difference only in the values of <LastUpdate>. Is there an undocumented setting that i can add to foxbin2prg.cfg so it doesn't create that tag anymore for converted dbfs ? If not, could you add one please ?

Best regards,
Eduard.

Viewing all articles
Browse latest Browse all 3798

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>