>David,
>
>Thanks for your help. I try your solution, it works well but if I want to store a DBF file and restore it with STRTOFILE I can't open it. VFP said that it's not a table.
If you had the file open the moment you tried to store it, you may have saved an empty file (zero bytes).
>
>Are you sure that your solution is valid for all file's extensions ?
>
>Marc
>
>>Marc,
>>
>>Take a look at message #
959414 for how to push documents up to SQL.
>>
>>You can strtofile() them back to disk for the real application to open them.
>>
>>>I need some information and help about storing documents such Word, Excel, PDF, ... documents in record's fields. Is it possible in a VFP or SQL Server database ?
>>>
>>>I want also to know how I have to proceed to open those documents from my VFP application.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)