Word 2002 Changing Photo Merge Field Data

A

Andy

Hi;

Had been using Word 2000 for a mail merge from Access 2000 and the this code
worked correctly in Word 2000:
{IncludePicture "c:\\Program Files\\My Program\\ProductPictures\\{MERGEFIELD
ProductCategory}{ProductSubCategory}{ProductName}.jpg"}

What the code does is pull a photo of the Product.
Note: The photos are named using the Category: Clothing, Sub-Category:
Woman, and ProductName: Shoes.
Example: ClothingWomanShoes.jpg

A query with a criteria in Access generates the merge using the information
the user has displayed on the screen.

A command button then executes the merge.
Everything worked correctly until we started using Word 2002 on one
computer.

The code changes to:
{IncludePicture "../../../program%20files/My
Program//ProductPictures/ClothingWomansShoes.jpg" \* MERGEFORMATINNET}

The Double Backslashes are replaced by the above.

Tried doing it manually. It works at first but when the document is saved
it changes from:
{IncludePicture "C:\\Program Files\\My Program\\ProductPictures\\{MERGEFIELD
ProductCategory}{MERGEFIELD ProductSubCategory}{MERGEFIELD
ProductName}.jpg"}
To:
{IncludePicture "../../../program%20files/My
Program//ProductPictures/ClothingWomansShoes.jpg" \* MERGEFORMATINNET}

With the first example the code is dynamic and shows the correct picture,
with the second it is static and calls for a specific picture
"ClothingWomansShoes.jpg" and doesn't show any graphic at all. It only
shows a "Place Holder" where the photo should be.

Tried the resolution from Microsoft:
Example:
{INCLUDEPICTURE {MERGEFIELD "Picture"} \*MERGEFORMAT}
http://support.microsoft.com/kb/114306/en-us
And
Example: { IncludePicture "C:\\Data\\Pics\\{ Mergefield Signature \*
upper }" }
From: http://homepage.swissonline.ch/cindymeister/MergFram.htm
And quite a few more.

Getting nowhere fast.

Would someone be so kind and point me in the correct direction?

Thank You for taking the time to read this post.

Andy
 
C

Cindy M.

Hi Andy,

The problem is in Tools/Options/General/Web options/Files. Deactivate the
option to automatically update links when saving. That will stop Word from
making the changes to the field code.
Had been using Word 2000 for a mail merge from Access 2000 and the this code
worked correctly in Word 2000:
{IncludePicture "c:\\Program Files\\My Program\\ProductPictures\\{MERGEFIELD
ProductCategory}{ProductSubCategory}{ProductName}.jpg"}

What the code does is pull a photo of the Product.
Note: The photos are named using the Category: Clothing, Sub-Category:
Woman, and ProductName: Shoes.
Example: ClothingWomanShoes.jpg

A query with a criteria in Access generates the merge using the information
the user has displayed on the screen.

A command button then executes the merge.
Everything worked correctly until we started using Word 2002 on one
computer.

The code changes to:
{IncludePicture "../../../program%20files/My
Program//ProductPictures/ClothingWomansShoes.jpg" \* MERGEFORMATINNET}

The Double Backslashes are replaced by the above.

Tried doing it manually. It works at first but when the document is saved
it changes from:
{IncludePicture "C:\\Program Files\\My Program\\ProductPictures\\{MERGEFIELD
ProductCategory}{MERGEFIELD ProductSubCategory}{MERGEFIELD
ProductName}.jpg"}
To:
{IncludePicture "../../../program%20files/My
Program//ProductPictures/ClothingWomansShoes.jpg" \* MERGEFORMATINNET}

With the first example the code is dynamic and shows the correct picture,
with the second it is static and calls for a specific picture
"ClothingWomansShoes.jpg" and doesn't show any graphic at all. It only
shows a "Place Holder" where the photo should be.

Tried the resolution from Microsoft:
Example:
{INCLUDEPICTURE {MERGEFIELD "Picture"} \*MERGEFORMAT}
http://support.microsoft.com/kb/114306/en-us
And
Example: { IncludePicture "C:\\Data\\Pics\\{ Mergefield Signature \*
upper }" }
From: http://homepage.swissonline.ch/cindymeister/MergFram.htm
And quite a few more.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 
A

Andy

Cindy;

Thank You.

It Works!

Andy


Cindy M. said:
Hi Andy,

The problem is in Tools/Options/General/Web options/Files. Deactivate the
option to automatically update links when saving. That will stop Word from
making the changes to the field code.


Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)


This reply is posted in the Newsgroup; please post any follow question or
reply
in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top