>Hi All
>
>A colleague and I are thinking about extracting data into a stream. This results from the fact that CursorToXML doesn't support general fields. Last night we looked at the structure of the memo field. We're using a BMP picture which was displayed using MS Paint.
>
>The VFP docs explained some stuff, but we couldn't confirm this information. The docs say the general field holds a 10 byte pointer into the memo file (.FPT). Looking at the DBF with a Hex Editor, it seems this is a 4 byte number. We couldn't decode this number. Can someone help with that?
>
>The size of the image file is stored in the memo file. I know its MSB, LSB formatted, but converting this from Hex to Decimal didn't return the byte size of the file as reported by the OS.
>
>Basically, we want to return the picture as a stream of bytes from the memo field. This involves locating the data first and then reading it, probably using FOPEN/FREAD().
>
>Thanks!
Mike,
Does MSKB#
Q161832 help?
George
Ubi caritas et amor, deus ibi est