View Single Post
 
Old 08-03-2016, 05:42 AM
utzja1 utzja1 is offline Windows 7 64bit Office 2013
Novice
 
Join Date: Jun 2015
Posts: 11
utzja1 is on a distinguished road
Default

Tripped up by syntax again. I used the approach from your webpage to produce the following statement.

{INCLUDEPICTURE {IF {MERGEFIELD PhotoPath1} <> "" {MERGEFIELD PhotoPath1} "Q:\\.....\\Blank.jpg"}}

When I merge the test file, the first record merges fine and the picture displays perfectly. For the second record, this syntax gives me an error message (filename not specified). When I hit Alt-F9 to display the field in the merged document, it shows the path on the Q: drive without any quotation marks. If I add an extra set of quotation marks for the Blank.jpg file path, then it returns a blank file path and I still get the error message. Any ideas where I went astray?

Thanks.
Reply With Quote