Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print a general field ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01232294
Message ID:
01233121
Vues:
8
>> You can work with oForm.myOle1.object.Content.TEXT, and modify it as
>needed.
>
>It works for the text, but my Word OLE document is gone. When I print before adding text, my Word OLE document is printed. But after I add text, only the text is printed on the page. How can I merge both together?

In this case I would create the temporary DOC file from the general field content, then close the form, open the temporary DOC file with WOrd.Automation, modify the text, and print it.

Also, instead of working with content.text directly you probably need to do something like:

oWord.Selection.endKey(6) &&go to the document end
oWord.activedocument.content.insertafter("whatever you need")
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform