Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Word as a report writer
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Using Word as a report writer
Miscellaneous
Thread ID:
00144977
Message ID:
00144977
Views:
64
I am building an application that must print a huge report. Not in data volume but in the number of fields that need to be on it.

At this moment I am nearing the end on what the ReportWriter can do. To avoid this problem I have decided that it may be wise to use Word as the ReportWriter (only for this report anyway).

Creating the object and writing data to Word is not the problem. The problem I'm having is that I also want to write pictures (bmp's) to word.
I'm sure that this is possible but I can't get it to work.

What am I missing?

objWD=create("word.basic")
objWD.filenewdefault
&& This is a text field and works
objWD.insert(exposlim.ex1_type)
& This is a general field with a picture and it fails
objWD.insert(picture.picture)

objWD.appshow
objWD.appmaximize
Reply
Map
View

Click here to load this message in the networking platform