View Single Post
  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields,microsoft.public.word.newusers
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default Mailmerge question

Hi colblip,

Do do actually have a jpg file named 'NoPictureAvailable.jpg' in O:\Pictures\2009 Original Church Pictures\?

--
Cheers
macropod
[Microsoft MVP - Word]


"colblip" colonel.blip.at.bigfoot.com wrote in message ...
macropod,

Tried the code and result was correct picture for each record that had a
picture but for those that didn't rather than NoPictureAvailable.jpg being
used the picture from the previous record is repeated.

Hello, All!

I have a directory I print for the church. In it I have insert a
picture of the family with the code {INCLUDEPICTURE
"O:\\Pictures\\2009 Original Church Pictures\\{ Mergefield
"Full_Name"}.JPG" }. I would like to insert a standard
NoPictureAvailable.jpg file if there is no picture for the family in
question. Is there a way to do this?

Thanks,

Colonel Blip
E-mail: colonel.blip.at.bigfoot.com


With best regards, colblip. E-mail: colonel.blip.at.bigfoot.com


Hello, macropod!
You wrote on Thu, 6 Aug 2009 11:26:13 +1000:

m You could use:
m {INCLUDEPICTURE "O:\\Pictures\\2009 Original Church
m Pictures\\{IF{ Mergefield "Full_Name"}= "" "NoPictureAvailable" {
m Mergefield "Full_Name"}}.JPG" }

m --
m Cheers
m macropod
m [Microsoft MVP - Word]