Information générale
Titre:
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
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement