Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Re: Word
Miscellaneous
Thread ID:
00230039
Message ID:
00230139
Views:
27
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform