Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a Word doc to selected names on dbf
Message
De
17/06/2015 13:15:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01621082
Message ID:
01621085
Vues:
48
>I get the word doc I want
>
>I extract the contents to a variable
>
>I print a report using names from a dbf and the variable created above - except that Filetostr doesn;t return the contents of a word doc - what should I do?
>

If you actually want the formatted Word document, you do this via Automation: open the document in Word and poke the data you want into it and then print it.

Here's one way to do it: http://www.tomorrowssolutionsllc.com/Articles/Accessing%20Word%20Bookmarks%20through%20Automation.PDF

The last major section of this paper shows another: http://www.tomorrowssolutionsllc.com/Conference%20Sessions/Automating%20Microsoft%20Word.pdf

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform