General information
Title:
Using Word as a report writer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only