I know you posted them some time ago, however I could never get it to 
work properly. At the time I was just beginning with SQL Server and got 
lost in some of the intricacies of connections, permits, transactions, etc.

Could you kindly repost the code?

As a reminder, I need to see how you would save the doc file into SQL 
Server and how you would retrieve it to be read with Word.

Rafael Copquin

El 12/11/2010 12:09, Dave Crozier escribió:
> Rafael,
> I thought I posted some code last time you requested it to do just what you 
> need with any type of document .xls, .docx etc etc.
>
> VarBinary is the way to go and if you need it I'll repost the routines to put 
> and get the date into/out of SQL server (All versions 2005 and above)
>
> Dave C
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of 
> Rafael Copquin
> Sent: 12 November 2010 12:58
> To: [email protected]
> Subject: Re: vfp and sql server - import/export doc files
>
> It looks like the message I sent went out truncated.
>
> Here's the original:
>
> quote
>
> Some time ago I posted a similar question but never got quite the answer I 
> need,
> so here it goes again.
>
> I want to save a bunch of doc files into a SQL Server field
> I want to be able to retrieve those documents at will
>
> Please tell me what the VFPcode  should beto export  the doc file to a SQL
> Server database and the codeto retrieve  that file from the SQL Server to 
> read it
> with Word.
>
> I understand that I should be using a varbinary(MAX) field type (I am using 
> SQL
> Server 2008 Express)
>
> unquote
>
> Thanks
> Rafael Copquin
>
>
>
> El 11/11/2010 19:36, Stephen Russell escribió:
>> On Thu, Nov 11, 2010 at 4:27 PM, Rafael Copquin<[email protected]>   
>> wrote:
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> code should be to export
>>> to retrieve
>> -----------------
>>
>> ?
>>
>>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to