>When I was checking directions for saving pictures in table fields
>I got many advices about NEVER using "General Fields" for doing anything
>because, as many users said, not only the file data is stored in the field but also
>other informations like default application. One user said it stores even
>"the colors of your grandmother shoes" :)).
>I think your problem is that when you restore the data from the field
>other information is coming in the file making it corrupted for the application
>that uses it.
>If it's a VFP table try to see if Blob is good. According to VFP documentation:
>"To store binary data of any kind, such as ASCII text, an executable (.exe) file,
>or a stream of bytes, and with indeterminate length, use the Blob data type."
>I'm just guessing, but I can make some tests.
I have never used general field.I have to clean up something based on a client's request.
From Sergey's message, I was able to save as is a PDF file. That works. However, when I used the same approach for a Word file, using the marker:
lnLocation=AT(Chr(208) + Chr(207) + Chr(17) + Chr(224) + ;
Chr(161) + Chr(177) + Chr(26) + Chr(225),lcFile)
This creats a file that cannot be opened in Word.