INCLUDEPICTURE prob

A

accdev

When I place the merge field within the INCLUDEPICTURE it appears ok as {
MERGEFIELD myfield}. However when I do a Save it instantly changes to the
actual data, i.e., "MyFileName.jpg". I have a routine in the document open
event that calls a routine in the dot file that reupdates all the fields.
However, it never updates the picture. I have a feeling that once it gets
changed in the Save as the actual data, it never changes again. What do I do
to cause the picture to change from record to record?
 
M

macropod

Hi accdev,

Your MERGEFIELD should look something like:
{INCLUDEPICTURE {MERGEFIELD PicName}}
where PicName is the full path, filename & extension for the picture,
although these requirements can be reduced according to how much of the
path, fileextension are incorporated into the INCLUDEPICTURE field. For
example:
{INCLUDEPICTURE "C:/My Documents/{MERGEFIELD PicName}.jpg"}
or
{INCLUDEPICTURE "C:\\My Documents\\{MERGEFIELD PicName}.jpg"}

When you mailmerge document is saved with the above coding, it should not
update with the actual picture.

Cheers
 
A

accdev

works great...thanks

macropod said:
Hi accdev,

Your MERGEFIELD should look something like:
{INCLUDEPICTURE {MERGEFIELD PicName}}
where PicName is the full path, filename & extension for the picture,
although these requirements can be reduced according to how much of the
path, fileextension are incorporated into the INCLUDEPICTURE field. For
example:
{INCLUDEPICTURE "C:/My Documents/{MERGEFIELD PicName}.jpg"}
or
{INCLUDEPICTURE "C:\\My Documents\\{MERGEFIELD PicName}.jpg"}

When you mailmerge document is saved with the above coding, it should not
update with the actual picture.

Cheers
 

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