Absolutely. Just use a plain old memo field. I do it all the time.
REPLACE MemoField with FILETOSTR('C:\DevPath\FileName.pdf')
STRTOFILE(MemoField, ADDBS(GETENV('Temp')) + 'FileName')
... code here ...
ERASE ADDBS(GETENV('Temp')) + 'FileName'
I store the actual filename in another field in the same table where the memo field is along with file size, etc. so I can check the file once I recreate it.
>It is possible to copy a .pdf file using FILETOSTR()?
>
>>Store them in a memo field of a VFP table using FILETOSTR(). Then at runtime when needed, create them using STRTOFILE() and erase them when finished. Works great!
Mark McCasland
Midlothian, TX USA