Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor
 
Posts: n/a
Default Word 2003 Field code within a field code

%20 is usually inserted to replace a space and not an underscore. Replace
the underscores with %5F in the original field construction and see if that
effects an improvement.

{INCLUDEPICTURE "G:\\START\\IMAGES\\PHOTOS\\{MERGEFIELD
"PROVIDER%5FLAST_NAME"}%5F{MERGEFIELD "PROVIDER%5FFIRST%5FNAME"}.GIF"}

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Cheryl wrote:
I have a unique problem. I am trying to use the INCLUDEPICTURE field
code. The document I'm using is linked to a very sophisticated
database software program and I have received instructions on merging
data from this database INTO the INCLUDEPICTURE field to create the
filename for the photo files. An example is typed below:

{INCLUDEPICTURE "G:\\START\\IMAGES\\PHOTOS\\{MERGEFIELD
"PROVIDER_LAST_NAME"}_{MERGEFIELD "PROVIDER_FIRST_NAME"}.GIF"}

In the above example, the photo filenames are all matched up to the
fields referenced in the formula (last_first.gif). These are the
correct field codes, and the double slashes are important, I have
been told.

My problem is that as soon as I save the document containing the above
field, the underscores all change to "%20" and the field doesn't
work!! No one at my software vendor's help desk can help me with this
problem. Does anyone know anything about preventing this??

Thank you!

Cheryl



 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter & page number @ bottom of page Grace Page Layout 9 October 12th 05 06:38 AM
How do I create a Word form like corel WP merge documents? dlee_at_mmsgov Microsoft Word Help 2 October 8th 05 06:29 AM
Help to merge Image (Doug Robins?) JohnB Mailmerge 21 June 23rd 05 05:28 PM
Wordperfect Office 2000 conversion to Word 2003 MikeE New Users 1 March 21st 05 12:04 AM
How do I change the fillin field box code size in Word 2003? Diane Microsoft Word Help 1 January 24th 05 03:55 PM


All times are GMT +1. The time now is 05:56 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"