General information
Category:
COM/DCOM and OLE Automation
Title:
Word MailMerge and pictures.
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
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