Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word MailMerge and pictures.
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Word MailMerge and pictures.
Miscellaneous
Thread ID:
00642172
Message ID:
00642172
Views:
41
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?
Next
Reply
Map
View

Click here to load this message in the networking platform