Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Mort Strom Mort Strom is offline
external usenet poster
 
Posts: 1
Default Word 2007 - merge image data from Sql datasource

Hi all,

I am creating a mail merge in Word 2007 and wondering if it is possible to
merge pictures. My data source points to a SQL Server and I can
successfully capture desired text fields. However, I don't know how to
insert the picture data. The image data coming from my data source is the
raw image itself.

Can pictures be included in a mail merge with data coming from SQL?

Thanks for any direction,
Mort

  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Word 2007 - merge image data from Sql datasource

Unfortunately not. You can only really insert them by using an
INCLUDEPICTURE field, and that has to get the picture from an ordinary image
file such as a .jpg file that resides in a file system somwhere. So you
really have to extract each picture to a file before you merge, and ensure
that you can construct the picture's path name from the data in the relevant
record (i.e. typically you need to name the picture files with the primary
key data). You could probably extract them on the server (and if it's on a
WIndows network, put them in a folder on the netwrok somewhere) using a
Stored Procedure but because it's at least /hard/ to use a stored procedure
as a data source (and I don't think it is actually possible in current
versions of Word) you still have to do it before the merge.

--
Peter Jamieson
http://tips.pjmsn.me.uk

"Mort Strom" wrote in message
news
Hi all,

I am creating a mail merge in Word 2007 and wondering if it is possible to
merge pictures. My data source points to a SQL Server and I can
successfully capture desired text fields. However, I don't know how to
insert the picture data. The image data coming from my data source is the
raw image itself.

Can pictures be included in a mail merge with data coming from SQL?

Thanks for any direction,
Mort


Reply
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
datasource field selection change causing invalid data displayed deb Mailmerge 0 January 7th 08 10:14 PM
Mail Merge - How to create data source using Word 2007? Cindy Mailmerge 1 June 29th 07 08:10 AM
Insert a Clip Art image on top of an image using Word 2007 Quco Microsoft Word Help 2 June 12th 07 12:05 PM
Word 2007 Mail Merge Data Source Read Only Michelle Mailmerge 1 January 8th 07 03:56 PM
Word 2002 Merge Datasource ~Dave~ Mailmerge 1 November 2nd 05 05:41 AM


All times are GMT +1. The time now is 11:54 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"