Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 04-20-2011, 02:53 PM
macropod's Avatar
macropod macropod is offline Mail Mege Images - Path Correct but Images Repeated Windows 7 32bit Mail Mege Images - Path Correct but Images Repeated Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,512
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Sonia,

The field code syntax you posted is incorrect - the quote marks are in the wrong places and part of the '\* MERGEFORMAT' switch is missing. plus you don't need the '\* MERGEFORMAT' switch. Coding the field as:
{INCLUDEPICTURE "c:\\CatalogPictures2\\Rings\\{MERGEFIELD Product_Image_File1}" \d}
or:
{INCLUDEPICTURE "c:/CatalogPictures2/Rings/{MERGEFIELD Product_Image_File1}" \d}
will work.
As you found:
1. the pictures usually won't show correctly. You can refresh the fields (eg Ctrl-A, then F9) to get this to happen; and
2. even after updating the images, they remain linked to the image files, which can be an issue if you need to send the merged output to someone else.

The following field construction addresses both issues (and you only need one backslash for the path separators):
{IF {INCLUDEPICTURE {IF TRUE "c:\CatalogPictures2\Rings\«Product_Image_File 1»"} \d} {INCLUDEPICTURE {IF TRUE "c:\CatalogPictures2\Rings\«Product_Image_File 1»"} \d}}
or
{IF {INCLUDEPICTURE {IF TRUE "c:\CatalogPictures2\Rings\{MERGEFIELD Product_Image_File1}"} \d} {INCLUDEPICTURE {IF TRUE "c:\CatalogPictures2\Rings\{MERGEFIELD Product_Image_File1}"} \d}}

After running a mailmerge coded this way, you'll have the correct, unlinked image for each record.

To toggle the field code display on/off, simply press Alt-F9.

Using a {Next Record} field in a letter merge or a directory/catalog merge can also result in records being skipped. For your purposes, what you're generating is the same as a label merge - which is why the {Next Record} field is needed. For a letter merge or a label merge, you should not have a {Next Record} field after the last item on the page.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Mege Images - Path Correct but Images Repeated Inserted images don't appear terence_laoshi Drawing and Graphics 2 04-14-2011 05:08 AM
Powerpoint images sharon_1985 PowerPoint 0 08-02-2010 11:47 PM
Compressing images Fran PowerPoint 0 10-29-2009 07:18 AM
Inserting images into mail merge lorraine_hamilton Mail Merge 0 10-19-2009 09:55 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:50 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft