Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Conditionally include a picture
I am trying to conditionally include a picture in merged document. We use
OmniRush to merge data to Word files. In OmniRush variables are listed in a text file. I have a variable that indicates the location of logo (bmp). If this field is blank, I would like the Word document not to include the picture box. Is this possible? |
#2
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Conditionally include a picture
I know nothing about OmniRush whatsoever, but if you are using a standard
merge document in Word, then you can use a conditional field in that document eg {IF {Mergefield fieldname} "" "{IncludePicture fieldname}"} You'll need to adapt that to suit your data and images. See also http://www.gmayor.com/formatting_wor...tConditionally -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Schorn wrote: I am trying to conditionally include a picture in merged document. We use OmniRush to merge data to Word files. In OmniRush variables are listed in a text file. I have a variable that indicates the location of logo (bmp). If this field is blank, I would like the Word document not to include the picture box. Is this possible? |
#3
|
|||
|
|||
Dear Graham Mayor,
It is nice of you to give people your advice, but in this instance you should warn that this solution will not work (in word 2000 anyway, unless meantime someone found the fix for it). The problem is that IncludePicture repeats the same picture after merge when it is used inside the IF construct. Non of the update method (F9 etc.) doesn't work. I'm trying to solve this problem on my own in tha last few days, but without much success. Qqla. Quote:
|
#4
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Conditionally include a picture
You are right - unfortunately. The fields are resolved differently when
included in the conditional field. I can't see an alternative at the moment. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org qqla wrote: Dear Graham Mayor, It is nice of you to give people your advice, but in this instance you should warn that this solution will not work (in word 2000 anyway, unless meantime someone found the fix for it). The problem is that IncludePicture repeats the same picture after merge when it is used inside the IF construct. Non of the update method (F9 etc.) doesn't work. I'm trying to solve this problem on my own in tha last few days, but without much success. Qqla. Graham Mayor Wrote: I know nothing about OmniRush whatsoever, but if you are using a standard merge document in Word, then you can use a conditional field in that document eg {IF {Mergefield fieldname} "" "{IncludePicture fieldname}"} You'll need to adapt that to suit your data and images. See also http://www.gmayor.com/formatting_wor...tConditionally -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Schorn wrote: I am trying to conditionally include a picture in merged document. We use OmniRush to merge data to Word files. In OmniRush variables are listed in a text file. I have a variable that indicates the location of logo (bmp). If this field is blank, I would like the Word document not to include the picture box. Is this possible? |
#5
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Conditionally include a picture
The solution was quite easy. I inserted an includepicture field and where the
file name would normally go, I put the DDE code from Goldmine referencing the variable of the http location of the file. "Graham Mayor" wrote: You are right - unfortunately. The fields are resolved differently when included in the conditional field. I can't see an alternative at the moment. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org qqla wrote: Dear Graham Mayor, It is nice of you to give people your advice, but in this instance you should warn that this solution will not work (in word 2000 anyway, unless meantime someone found the fix for it). The problem is that IncludePicture repeats the same picture after merge when it is used inside the IF construct. Non of the update method (F9 etc.) doesn't work. I'm trying to solve this problem on my own in tha last few days, but without much success. Qqla. Graham Mayor Wrote: I know nothing about OmniRush whatsoever, but if you are using a standard merge document in Word, then you can use a conditional field in that document eg {IF {Mergefield fieldname} "" "{IncludePicture fieldname}"} You'll need to adapt that to suit your data and images. See also http://www.gmayor.com/formatting_wor...tConditionally -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Schorn wrote: I am trying to conditionally include a picture in merged document. We use OmniRush to merge data to Word files. In OmniRush variables are listed in a text file. I have a variable that indicates the location of logo (bmp). If this field is blank, I would like the Word document not to include the picture box. Is this possible? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Using the IF-THEN function to conditionally add picture? | Mailmerge | |||
How do I hyperlink to a picture and include in an e-mail attachmen | Microsoft Word Help | |||
Conditionally include a "new line" character/instruction? | Mailmerge | |||
Include picture problem | Mailmerge | |||
How do I conditionally include a field in my merged labels? | Mailmerge |