Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying the contents of a Word document
Message
From
04/05/2001 10:04:47
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00503281
Message ID:
00503475
Views:
22
Assume table.field contains the file pathname and table.memo is the memo field ....
cFileName=ALLT(table.field)
IF FILE(cFileName)
   APPEND MEMO table.memo FROM cFileName AS 0
ENDIF
>Hi John,
>
>I have a field named fileloc with the following content
>"P:\minitour\cottonclub.doc"
>This file is a Word document.
>I simply need to dump the contents of the Word document into a memo field in the same table.
>
>Regards
>Carmel
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform