Rafael, Sorry I didn't include details on how to retrieve the data back. I'll let you know tomorrow as it's a little late now.
Dave C -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Rafael Copquin Sent: 02 June 2010 23:05 To: [email protected] Subject: VFP and SQL Server + Word files OK Dave and Steve I followed Dave's instructions, ie, use the cast function after the filetostr function and IT WORKED !!! However, Steve, I have to inform you that of the four field types you suggested, 3 work but one does not field name type result wordfiles varchar(MAX) works OK wordfiles1 nVarchar(MAX) works OK wordfiles2 varbinary does not work wordfiles3 nText works OK Now, how do I do the reverse, that is, retrieve the data from the SQL Server fields using VFP, transform them back into Word documents and show them to the user? Rafael Copquin [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.

