>Is there a COPY MEMO command or anyway to copy the contents of a VFP memo field to disk? What if the memo field contain binary data, could this still be accomplished?
There's no such construct - you have to read the string then write out to file using a StreamWriter or other stream based output. StreamWriter is pretty painless though.
As to binary data, that'll be tough. I'm not 100% sure if you mark a VFP memo as binary memo whether it gets returned as a byte[] buffer. But a regular memo gets returned as a UniCode string, which means that if there's binary data in there the data may not come out correctly. For example, it'll likely truncate on a CHR(0) in the binary content.
+++ Rick ---
>
>Thanks,
>
>Jerry