Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying the contents of a Word document
Message
De
04/05/2001 10:04:47
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00503281
Message ID:
00503475
Vues:
21
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform