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:
00230120
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform