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:
00230139
Vues:
28
>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

I have done it this way. I have also used Excel (which I find superior for columnar reports).

Still, if someone has reports in a report file already, something like FoxWord might do the trick without learning how to automate word or excel.
Menachem Bazian, CPA
President
BC Consulting Services, Inc.
973-773-7276
Menachem@BazianCentral.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform