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?

Re: INCLUDEPICTURE prob by macropod

macropod
Sun Sep 25 01:50:52 CDT 2005

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


"accdev" <accdev@discussions.microsoft.com> wrote in message
news:E47D95C5-E97F-4EC7-89FC-488E37C0C866@microsoft.com...
> 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?



Re: INCLUDEPICTURE prob by accdev

accdev
Sun Sep 25 12:00:01 CDT 2005

works great...thanks

"macropod" wrote:

> 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
>
>
> "accdev" <accdev@discussions.microsoft.com> wrote in message
> news:E47D95C5-E97F-4EC7-89FC-488E37C0C866@microsoft.com...
> > 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?
>
>
>