>> Subj: HOW 2 KNOW IF IT'S A DBF Conf: (601) F-CLIPPER
>> I wonder why you allow your users to create .DBF files with other
>> extensions ?
Because when I'm doing software I don't use the .DBF extension and at
this time I'm doing a utilitie program like DBU who can fine and load
clipper file with any extension.
>> You might try testing the file by reading in the first few bytes of the
file
>> with FREAD. You could check the first byte. If this is a regular Clipper
>> .DBF file using dBase 3+ format, then bits 0,1,2 (values 1,2,4) should
total
>> to 3.
Yes somebody showed me that example and it works fine so I use it.
Thank you for the time you tooked to answer to me.
Ben.
--- FidoPCB v1.5 beta-'e'
---------------
* Origin: Innovatron, St-Boniface, QC (819)535-9072 (1:167/420)
|