Hi Alex,
news:4e6e0661-050b-445a...@googlegroups.com...
On Wednesday, February 25, 2015 at 3:46:15 PM UTC-3:30, frank van nuffel
wrote:
> You need FF III for use with CA-Clipper 5.3(b) - or try to get the native
> CA-Clipper 5.3(b) FF support without using standalone FF III product
>
> Without FF III there is no support for compression though (stated in
> CA-Clipper 5.3b patch readme)
Hey Frank,
> Thanks for the response. So what you're saying is that I'll need flexFile
> III not II in order to set a compression algorithm for reading the memo
> files?
When the .dbv file (or .fpt) shows "FlexFile3" among the first 64 bytes (or
so), then the data memo is in FF III format; in that case CA-Clipper 5.3(b)
can still read it (with the standard DBFCDX rdd), but if the data contained
is compressed, you will still need the standalone FF III upgrade, available
@grafxsoft (for reduced price, given you have a valid FF II license)
5.3 crashes when combining the II rdd (i tested it yesterday)
Another option is possible, using CA-Clipper 5.2 and FF II, but all depends
whether your .dbv is in II or III format; if it's in III format, with 5.2
you'll need FF III standalone again (it has a compatibility .lib for use
with 5.2)
BUT, if the .dbv is in II format (there isn't a FlexFile reference int the
first bytes), then with CA-Clipper 5.2 and FF II (which i understand you are
using), you can do everything, including compression reads and writes
In the latter scenario (CA-Clipper 5.2), your sample will compile and link,
no need to add REQUEST FLEXFILE in your source, as David suggested, for
#include "
FLEXRDD.CH" takes care of that; but the only thing missing is
before or after RDDSETDEFAULT( ""FLEXFILE" )
V_SUPERRDD( "DBFCDX" ) // or "DBFNTX"
> What I'm trying to accomplish is read a legacy dbase with a memofield.
> I've been speaking with the folks at grafxsoft and we think we have it
> narrowed down to a compressed flexfile memofield. I need to read this
> database and output the contents to a file. Simple right :)
Your sample's next step is to traverse the .dbv exporting all memos to files
f.i. (there are other methods, later)
See if you can determine the FF version (could be II but this is not FoxPro
compatible, while III is) - we'll take it from there
Best regards,
Frank