STRU - Lists and modifies the structure of the dbfs files
Posted: Tue Aug 28, 2012 1:35 pm
Hi amigo Esgici !
Your example is very interesting uses of DBINFO. Thank you for your contrib.
I was thinking before I was making adjustings to determine which can of DBF file is: Clipper or FoxPro format (DBT or FPT). And I found another good example of Mr. Grigory Filatov in C:\MiniGUI\SAMPLES\Advanced\dbfHeaderInfo\demo.prg
But I did not implemented, because I thought it is enough to know if dbf contains DBT or FPT extension file. But I also understand that is not the right way to know.
I make some little changes in your code and I adapted Grigory example for other option. The interesting, all of these bringing us a good chance to implement with very good ideas. Which I am very greatfully, Mr Esgici ! So I am attaching both exemples here for testing, one is using opening dbf to obtain results, other example is not necessary to open with command USE or DBUSEAREA which is also interesting (open file in low level, yes).
Thank you again Mr. Esgici for your special good attention.
Your example is very interesting uses of DBINFO. Thank you for your contrib.
I was thinking before I was making adjustings to determine which can of DBF file is: Clipper or FoxPro format (DBT or FPT). And I found another good example of Mr. Grigory Filatov in C:\MiniGUI\SAMPLES\Advanced\dbfHeaderInfo\demo.prg
But I did not implemented, because I thought it is enough to know if dbf contains DBT or FPT extension file. But I also understand that is not the right way to know.
I make some little changes in your code and I adapted Grigory example for other option. The interesting, all of these bringing us a good chance to implement with very good ideas. Which I am very greatfully, Mr Esgici ! So I am attaching both exemples here for testing, one is using opening dbf to obtain results, other example is not necessary to open with command USE or DBUSEAREA which is also interesting (open file in low level, yes).
Thank you again Mr. Esgici for your special good attention.