Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word MailMerge and pictures.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Word MailMerge and pictures.
Divers
Thread ID:
00642172
Message ID:
00642172
Vues:
42
I am trying to create a MailMerge document from within VFP6.0 that switches between 2(or more) bitmaps depending on a merged data fields value. For example: One of the mailmerge fields is called "access_type". There are two values for access_type: VND and STD. For VND records I want picture "VND.BMP" to show and for STD records I want "STD.BMP" to show. The pictures do not reside in the database. I've tried using the macro recorder in Word, but the code I get is .ActiveDocument.MailMerge.Fields.AddIf(.Selection.Range, "access_type", wdMergeIfEqual, "VND", "", "MailMergeInsertIf3", "", "MailMergeInsertIf4")
. How do I get to the code behind the "MailMergeInsertIfX" so I can put that back into the VFP side?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform