Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / June 2005

Tip: Looking for answers? Try searching our database.

IncludePicture breaks in Word 2K3

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tricia Turner - 02 Jun 2005 18:54 GMT
I have upgraded a test machine from Word 2K to 2K3 and am having problems
with IncludePicture. I have a VB app that uses the Word object model to do a
mailmerge using a SQL Server datasource to a new document and that document
is then printed. One of the fields in the main doc has an IncludePicture
field that takes a mergefield as its parameter, i.e. { INCLUDEPICTURE "{
MERGEFIELD SomeImagePath }" }. When I used this in Word 2K this would pull
in the image from the mergefield, but when I do the same thing using 2K3
nothing is pulled in.

If I look at the value after merging to a new document it looks like {
INCLUDEPICTURE "\\\\SomeServer\\SomeDir\\image.tif" } which appears correct
but when I Alt+F9 the image does not display (no File. The strange thing is
that if I right-click the field and choose "Edit Field..." and choose OK on
the dialog box without changing any other value the field still looks
exactly the same as described above but now the Alt+F9 will pull in the
correct image.

Does anyone have any ideas about what might be causing this? Thanks!
Peter Jamieson - 02 Jun 2005 19:24 GMT
Does the picture display correctly if you select the field, F9, then Alt-F9
if necessary?

Generally speaking you have to check one or both of
Tools|Options|Print|Update fields and Update links, and/or select the
field(s) and execute the fields to ensure they are displayed.

Peter Jamieson
>I have upgraded a test machine from Word 2K to 2K3 and am having problems
>with IncludePicture. I have a VB app that uses the Word object model to do
[quoted text clipped - 14 lines]
>
> Does anyone have any ideas about what might be causing this? Thanks!
Tricia Turner - 02 Jun 2005 19:57 GMT
Thanks for the response Peter.  The picture does display correctly if I
manually update the fields. I already have tried the various combinations of
checking the Update fields and Update links but it makes no difference. The
thing I don't understand is that it still works fine in 2000 as is. Besides
checking these two options is there anything that I can set either through
the Word UI or the Word object model that will automatically update these
fields? As I stated before, this is an automated app so I need to eliminate
user intervention.

> Does the picture display correctly if you select the field, F9, then
> Alt-F9 if necessary?
[quoted text clipped - 22 lines]
>>
>> Does anyone have any ideas about what might be causing this? Thanks!
Peter Jamieson - 02 Jun 2005 21:10 GMT
The general changes to do with link updating may be relevant - see

http://support.microsoft.com/default.aspx?scid=kb;en-us;330079

Other than that, I think the only thing you can do is modify your automated
app. so that it outputs to a new document and does at least

ActiveDocument.Fields.Update

and if necessary updates all fields in all storyranges.

Peter Jamieson  .
> Thanks for the response Peter.  The picture does display correctly if I
> manually update the fields. I already have tried the various combinations
[quoted text clipped - 31 lines]
>>>
>>> Does anyone have any ideas about what might be causing this? Thanks!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.