Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I import a word doc into memo field
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01618713
Message ID:
01618725
Views:
43
>>>>>>>>
REPLACE mMemo WITH FILETOSTR(cDocFile)
>>>>>>>
>>>
>>>my code
>>>
>>>REPLACE wordin WITH FILETOSTR("c:\my documents\colinnewnotes.doc")
>>>
>>>Wordin is a memo field
>>>
>>>What I get is a lot of rubbish in wordin
>>>
>>>What am I doing wrong?
>>
>>Because a wordfile is a lot of rubbish if not viewed with WORD or something similar? (Others say a wordfile is rubbish anyway)
>
>So I cant import a word doc into a memo field?

Yes you can but the only way you can view it is in word. You could use automation to open word and see the document But as Boris says better to store a link to the document location.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform