Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
tinous
 
Posts: n/a
Default How to add a condition in an includepicture with mergefield

Hi,

I know how to add a varying picture in a mailmerge : {INCLUDEPICTURE
MERGEFORMAT {MERGEFIELD beautifulpicture}} (and after the merge CRT A + PF9
to refresh)

I know how to add a condition to add or not a field using the "If then
else "
{IF {MERGEFIELD num} 10 {MERGEFIELD aaa} {MERGEFIELD bbb} }

What I want to do, now, is to mix the two and have "beautifulpicture' added
ony if num 10 .

If I code
{IF {MERGEFIELD num} 10 {INCLUDEPICTURE MERGEFORMAT {MERGEFIELD
beautifulpicture}} "no picture for this record" } the result is not OK. (the
same picture is added (always the first even after CTR A + PF9)).

Is somebody can help me, please?

Thanks

--
tinous
 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mail merge with 2 different last names to the same address mail merge 2 different last names Mailmerge 1 April 6th 06 07:34 AM
Supress blank lines Jan Mailmerge 5 March 6th 06 03:52 PM
formatting from a database in Word 2003 DowningDevelopments Mailmerge 2 February 9th 06 08:19 AM
How do I insert different pictures using and If statement in Word. Rob69 Mailmerge 2 April 20th 05 10:42 PM
includepicture From URL + Mergefield Thomas Mailmerge 1 February 18th 05 09:05 AM


All times are GMT +1. The time now is 09:34 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"