I'm using a MS-Access table as datasource for Word mailmerge. This works fine, i.e. it fills the fields in the template and creates a new document. Except for the picture.
I'm using a variable to pass the path of the picture to a IncludePicture statement. This path is filled in alright and the syntax of the command is looking exactly the same as one done separately and manually, and that is working fine. Like { IncludePicture "C:\\dir\\x.jpg" }.
Whatever content there is in the path-variable at the moment of creating this statement in the template, is the picture that shows up in the document later. Or none if the variable was empty. Word always says this path-variable is not filled, even though you can see the right path in the statement in the document.
Somehow it is not updating the original content of this variable, even though the variable itself is filled as it should.
How do I get it to use (the content of) this var?
I'm using a variable to pass the path of the picture to a IncludePicture statement. This path is filled in alright and the syntax of the command is looking exactly the same as one done separately and manually, and that is working fine. Like { IncludePicture "C:\\dir\\x.jpg" }.
Whatever content there is in the path-variable at the moment of creating this statement in the template, is the picture that shows up in the document later. Or none if the variable was empty. Word always says this path-variable is not filled, even though you can see the right path in the statement in the document.
Somehow it is not updating the original content of this variable, even though the variable itself is filled as it should.
How do I get it to use (the content of) this var?