Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Re: Word
Divers
Thread ID:
00230039
Message ID:
00230120
Vues:
20
The best way I found is to OLE directly into Word
i.e.
&& Create an instance of wORD
rep1ole=CREATEOBJECT("Word.Application")
&& Create a document
doc1 = rep1ole.Add

&& Go to top of document
myRange = rep1ole.ActiveDocument.Range(0,0)

&& Start feeding in values
myRange.InsertAfter(m.field)

I had to do a report this way because no report writter could handle it, and now my users all want the reports direct into Word
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform