J
JSonnabend
I'm doing a merge from a Delphi application into Word. One of the
fields in the merge data is the full path to a jpeg file that I want
included in the output document. I'm using the IncludePicture field as
follows:
{IF { MERGFIELD LocalImageFile}<>"" {INCLUDEPICTURE {MERGEFIELD
LocalImageFile}} "Typed Drawing"}
I've included the line:
{IF { MERGFIELD LocalImageFile}<>"" {MERGEFIELD LocalImageFile}}
to insert the LocalImageFile field into the output document just to
check that Word is receiving the proper file name. It is.
The problem is that Word is inserting the same graphic (from an earlier
merge, I think) in every IncludePicture field.
I've tried every combination of quotation marks, spacing and the like.
I'm baffled.
Anyone have any ideas?
TIA
- Jeff
fields in the merge data is the full path to a jpeg file that I want
included in the output document. I'm using the IncludePicture field as
follows:
{IF { MERGFIELD LocalImageFile}<>"" {INCLUDEPICTURE {MERGEFIELD
LocalImageFile}} "Typed Drawing"}
I've included the line:
{IF { MERGFIELD LocalImageFile}<>"" {MERGEFIELD LocalImageFile}}
to insert the LocalImageFile field into the output document just to
check that Word is receiving the proper file name. It is.
The problem is that Word is inserting the same graphic (from an earlier
merge, I think) in every IncludePicture field.
I've tried every combination of quotation marks, spacing and the like.
I'm baffled.
Anyone have any ideas?
TIA
- Jeff