Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Word as a report writer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Using Word as a report writer
Divers
Thread ID:
00144977
Message ID:
00144977
Vues:
65
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
Fil
Voir

Click here to load this message in the networking platform