Discussion Locked

JPG merge field

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I would like to define a merge field that refers to the name of a .jpg file stored on disk. I can use Word or Crystal Reports to generate.

2 replies

by dklippert

Here are the instructions:

www.mvps.org/word/FAQs/

"Merge in a picture from a database
Word cannot merge a graphic or OLE-object directly from a database because it does not understand the type of data the database sends across (long binary).Therefore, you have to workaround this obstacle.
Save the graphics files in a folder (directory) on a drive
Place the file name (or path information) in a field in the database
Reference the graphic file information by nesting the merge field in an IncludePicture field.
Example: { IncludePicture "C:\\Data\\Pics\\{ Mergefield Signature \* upper }" }
You must now merge to a new document.
Update the field display so that each record shows the correct picture. (You can press Ctrl+A to select the entire document, then F9 to update the fields.)
Note the double backslashes in the example, as well as the double-quotes. Both are necessary if the field is to work correctly. "

This discussion is closed to new replies.